Page 1 of 1

adding default-toggle for serendipity_event_sidebarhider

Posted: Tue Sep 09, 2008 10:28 pm
by onli
Hi
I wanted to use the serendipity_event_sidebarhider, but it's more like I want to have the opportunity - the sidebars should not be hidden at default. As far as I've seen there is no option for this and I found no workaround.
Regarding the code I think that the lines 88-89 of sidebarhider.js are the problem - maybe it is possible to execute these lines only if a separate option is selected (the other way around would be alright, too)?

For myself, I can comment them out (think so, haven't tested it yet online - maybe it would cause problems?), but this may be a good option in general.

Re: adding default-toggle for serendipity_event_sidebarhider

Posted: Wed Sep 10, 2008 12:21 pm
by garvinhicking
Hi!

In the configuration of the sidebarhider plugin you can enable/disable the option if sidebars should be shrinked by default.

HTH,
Garvin

Posted: Wed Sep 10, 2008 12:59 pm
by onli
Yes, thanks, it is configurable in the menu under "entries". I overlooked this menu at first and only searched in the main-configuration of the plugin - where no default-toggle exists. If you haven't hit the save-button in the entry-menu, every plugin is collapsed by default...