Hello!
I have the follwing document structure:
german (7)
-- doc1 (1)
-- doc2 (2)
---- doc2a (3)
---- doc2b (4)
---- doc2c (5)
-- doc3 (6)
english (8)
-- doc1 (9)
-- doc2 (10)
---- doc2a (11)
---- doc2b (12)
---- doc2c (13)
-- doc3 (14)
I show the main menu (with submenu of the current document, if exists) on top of the page. And I want to show additionally the submenu of doc2 on any page on the left side. In a single language environment, I would just set startId=2. That would do what I want.
But now I must set startId for the left menu according to the given language. I set the language by a TV for all documents with default value @INHERIT, so that I only need to set the language for documents 7 and 8.
My approach was to call wayfinder like that:
[!Wayfinder? &startId=[+phx:if=`[*sprache*]`:is=`de`:then=`4`:else`18`+] &hideSubMenus=`true`!]
But this does "nothing" what means that I dont get a menu at all. Does Wayfinder support PHx in this way at all?
Thanks for ideas
Martin