Hi, first of all, this is a great module!

I need to use contextual filter for display opened an specific row depending on nid. I think this could be a very nice.

Comments

rattusrattus’s picture

Agreed, this would be an useful feature though after a brief investigation it seems it wouldn't be so straight forward to implement.

The module makes use of the jquery ui accordion widget which accepts the property 'active' and expects an integer corresponding to the row number. More info on the accordion widget.

If we were to use the node ID to identify the row to start open then we would need someway of relating node IDs to row numbers though I'm not sure where it would be best to place the logic for this.

I would be happy to take on the development of a patch for this if someone could offer some guidance.

LIQUID VISUAL’s picture

Issue summary: View changes

Thanks for this module. Using it and nested accordion to automatically generate menu block. Page is in menu if user selects "promote to front page." ( http://stuartkinmond.com ). Site sections are in a vocabulary. What might serve the purpose, if nid-row issue mentioned above is an obstacle, would be to know a way to forward which row WAS open when a page was selected, and if that SAME row could be open with the menu is reloaded with the page?

That way, the menu would remain open at current page. (until changed)

(Have used this module to present indexes of videos, generally to save vertical space with listed content. It has worked very dependably over long period.)

LIQUID VISUAL’s picture

Now successfully using Accordion Menu instead. Should have been using it initially!