Possible to keep more than one pane open?

cineasta - January 4, 2009 - 10:49
Project:Panels Accordion
Version:5.x-1.0-beta
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hey,

thanks a lot for that module. It's exactely what I was looking for. But I have two questions about it and hope that you can tell me wheter it is possible or not to realise this:
I have a two column panel page which contains a minipanel on each side. Each minipanel uses the accordion effect which works fine. I would like to know if it's possible to show two panes at the same time. For example there are three panes on the left side and I don't want the first one to close if the second one opens. Is there a way to keep panes open until someone clicks again on the pane title?
Thanks
cineasta

#1

davexoxide - January 17, 2009 - 08:21

So the only way to collapse a field is to click on the title again?

As the module stands there's no way to do that. You could overwrite the theme function and modify the jQuery display rules to get your desired effect. Another way to do this would be to have each own pane be it's own mini panel, this way none of them are effected by the rules of the other ones.

I've updated the dev version to carry the expanded rules of the page before. I'll have this merged into the official D5 release sometime this weekend. (hopefully)

#2

cineasta - January 21, 2009 - 12:26

Yes, it should only close when someone clicks on the title again.

I've already tried your second suggestion but it does not work cause you need more than one pane inside of a minipanel to use the accordian effect. If there is just one pane it will not remain closed and opens up again automatically.

I'll try to modify the functionality a little bit to get the effect. Would you consider to add that feature as a choice on the module settings page? As an alternative to the accordian effect. Than I would try to include it and provide it to you for other releases.

 
 

Drupal is a registered trademark of Dries Buytaert.