*EDIT*
I'm an Idiot …
solved it with menumanager and a seperate template just right after I submitted this …
sorry!
*EDIT*
Hi terael,
that UDT is almost what I am looking for.
I've got a horizontal top menu (with dropdown) and in addition a vertical submenu (same as dropdown). Since I am using babel for multilingual content I've got 3 levels of pages like this:
1 Deutsch
1.1 Leistungsangebot
1.1.1 Financial Advisory
1.1.2 Rating Advisory
...
2 English
2.1 Range of services
2.1.1 Financial Advisory
2.1.2 Rating Advisory
...
Horizontal Menu call:
Code: Select all
{menu start_level="2" number_of_levels="2"}
Vertical submenu for a selected menupoint:
Code: Select all
{menu start_level="3" template="submenu"}
I now want the parent (level 2) of the selected submenupoint (level 3) to be shown as a headline in the vertical sidebar:
Code: Select all
<h1>Level 2 (Parent) Title</h1>
{menu start_level="3" template="submenu"}
Problem is that some level 2 elements have content, some are just internal sitelinks.
Your UDT returns the top-level value (1 or 2 for Deutsch or English) in
h_toplevel
But unfortunately it always returns the same value for h_parent and h_this (the current page)
So when level 2 has content it returns for example 1.2 for both
If it is just a sitelink that calls the first child it returns the childs hierarchical position (for example: 1.2.1)
Maybe this is the wrong place for my question or maybe there is another better solution but this was the closest solution I could find in the forum … if so, sorry!
I hope that I've explained my problem good enough – any help is highly appreciated!
Thx in advance!
*EDIT*
I'm an Idiot …
solved it with menumanager and a seperate template just right after I submitted this …
sorry!
*EDIT*