Page 1 of 1

Collapso - show in sidebar from AUG

Posted: Thu Apr 05, 2007 4:10 pm
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

Posted: Thu Apr 05, 2007 5:18 pm
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.