Forums / Setup & design / Treemenu extension 1.0 help needed
Niklas Gunnäs
Tuesday 13 January 2004 6:32:10 am
I would like to use treemenu2.tpl on my site. But I have a problem how to setup the menusystem. The site is split up in sections that should have its own treemenu. Like this..
- section1 -
Cultur (home) - painting - artist1 - artist2- photo
- Section 2 -
Development (home) - Bughunting - Area1 - Area2- Dokumentation
Björn [email protected]
Tuesday 13 January 2004 2:45:58 pm
hi i did the treemenu1
I think both treemenus can't handle eZ sections, but I think you mean just 2 different offsets.
what you need to do is this: include the treemnu 2 timesgive the template a parameter (home)
{include uri="extension/treemenu/design/standard/templates/treemenu2.tpl" home=45} {include uri="extension/treemenu/design/standard/templates/treemenu2.tpl" home=46}
then replace the value of home inside the treemnu script with the param
Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs Looking for hosting? http://hostingezpublish.com ----------------------------------------------------------------------------- GMT +01:00 Hannover, Germany Web: http://www.xrow.com/
Wednesday 14 January 2004 1:54:50 am
Thank you for your answer Bjorn.
Sorry for asking again. I not a programmer so what should a change in whith file :-)
I have diffrent pagelayout for each section so changing home in each pagelayout should work perfectly.I think ;-)