Forums / Setup & design / 3.4 - how to make right hand toolbar content section dependent?
steve walker
Monday 09 August 2004 5:30:29 am
Bard,
Thanks for your help - I've finally got this working.
So the fix is (as you said above) to explicitly state each section rather than using the
{case} <p>Show this if the page is in a section that doesn't match any of the above.</p> {/case}
as an 'or' operator.
Cheers for helping me out with this.
Steve.
http://www.oneworldmarket.co.uk
Bård Farstad
Monday 09 August 2004 5:48:50 am
Steve,
great that it works now. Glad to be helping out.
--bård
Documentation: http://ez.no/doc
Andrew Wigglesworth
Sunday 05 December 2004 6:39:23 am
I've found this thread very useful and I just want to add something.
You can change your toolbars not just by section, but also by node or class. For example you could have a different toolbar according to whether an object is an article, poll, folder etc.
If your article class is 2, then the following would be a basis for creating a tollbar option that just shows up in articles.
{switch match=$DesignKeys:used.class} {case match=2} This is an article. {/case} {case} This is not an article. {/case}{/switch}
This extension of the principle is probably obvious to all you "power users" of Exponential, but I thought that people might appreciate me pointing this out.
Combined with the new administration setup on Exponential 3.5, this is very powerful.
Oree Eyo
Monday 08 August 2005 1:29:12 pm
I was wondering about the same issue, until i found this tread. I think that the administration panel should include a module that assign toolbars to nodes..It's a must!