Collapso - show in sidebar from AUG

Expanding / Collapsing, search engine friendly, Section menu.
Post Reply
Tickle
Posts: 1
Joined: Thu Apr 05, 2007 4:05 pm

Collapso - show in sidebar from AUG

Post by Tickle »

Hi Norman,

just installed Collapso and it works a treat - easy to install as well - thanks.

I have been using the "showinsidebar" feature described in the AUG for v8 which allows me to hide top level sections from the sidebar by providing a true/false variable in each section to switch them on or off. It's a very useful feature but it doesn't work with Collapso. Is there a simple fix to get this working?

Thanks

John
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Post by norman »

I'm afraid there's no simple fix.

It's easy to skip one of the Sections if you're only generating a list of top-level sections.

However Collapso is generating a set of UL items for the sections and all their children. This would require code that skips a section and then remembers to keep skipping items until all possible sub-sections had been processed. Not a trivial job.

This would have to be a paid for customisation.

If you want to have a look at doing it yourself all the code is in layout Collapso-5 Menu with a few variables being initialised in Collapso-5 Support Code.
Norman
Post Reply