Hi guys,
Im building a site for a client and have foolishly promised him a main nav that runs along the top of the editable content (no problems) and a subnav that runs down the left hand side of individual pages (previously no problems). The issue arises because when he creates a new document with a subnav he needs to edit the "startId" parameter and create a new template to get the subnav working. Which is a bit techie for him.
If I remove the startId parameter the top level, i.e. the parent document displays the subnav properly, however the child docs do not render the nav.
Is there anyway to get the wayfinder snippet to detect the top level document automatically without directing it with the startId param?
These are my wayfinder calls as they stand:
top level:
[!Wayfinder? &startId=`0` &level=`1` &hereClass=`selected`!]
sub level:
[!Wayfinder? &hereClass=`selected` &level=`2`!]
Hope someone can help!