hi:
in the menu I have something like:
A
-a1
-a2
B
C
D
If I have a menu and I want to include a1,a2,b,c,d, how to set up wayfinder?
I use this code:
[[Wayfinder? &startId=`0` &includeDocs=`a1,a2,b,c,d`]]
and at last in my menu I got b,c,d only.
how to make it work. thx
ernest
Because you have used &includeDocs without including A, then none of A’s children would show.
how should I rewrite this wayfinder then? please tell me. thanks.
If you want all docs in the menu then just remove the &includeDocs parameter.
To not have A, but have A’s children might be trickier, you could have two Wayfinder calls.
that’s my wayfinder code:
[[Wayfinder? &startId=`0` &parentClass=`A` &includeDocs=`a1,a2`]]
[[Wayfinder? &startId=`0` &includeDocs=`B,C,D`]]
in the end only B,C,D show up...
ernest
It works! cool! thanks so much.
that’s my code:
[[Wayfinder? &startId=`28` &includeDocs=`40,45`]]
[[Wayfinder? &startId=`0` &includeDocs=`56,59,58`]]
if I want to add a class to this navigation, should I make it like that?
[[Wayfinder? &startId=`A` &outerClass=`navigation`&includeDocs=`a1,a2`]]
[[Wayfinder? &startId=`0` &outerClass=`navigation`&includeDocs=`B,C,D`]]
thanks!