maybe its a stupid question? but i got no glue.
I got a complex menu (droplist) with nifty css. I wanna have an additional list in default template showing all the links the folder contains.
For example (virtual page) index.php?id=12 is located as 2nd page in the 3rd folder. the list (droplist?) should show the whole folder3 and highlight the 2nd link.
So i need no document id in the droplist call, more a parent id of the (actual) page. But, how to....?
thanks le block
le_block is Member of
FUTY | Medienagentur aus Leipzig mit Schwerpunkt Marketing, Branding, Print und Webdesign
[*parent*] gives you the parent id, but if your folder has documents several levels deep, I would suggest to get the [[UltimateParent]] snippet what allways walks up the tree to get the top most parent (unless you set a limit with parameter)
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
thanks, doze.
it works with: [[DropMenu? &menuName=`menulist` &startDoc=`[*parent*]` &levelLimit=`1` &topdiv=`true` &hereClass=´currentPage´]]
le_block is Member of
FUTY | Medienagentur aus Leipzig mit Schwerpunkt Marketing, Branding, Print und Webdesign