Forums / Setup & design / Treemenu extension 1.0 help needed

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Treemenu extension 1.0 help needed

Author Message

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 X

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 times
give 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

Niklas Gunnäs

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 ;-)