I'm using Wayfinder to create navigation in Modx(evo) and below is the code which is working fine except i'm not able to hide more than one navigation item:
[[ Wayfinder? &startId=0
&parentRowTpl=Firstlevel-NavItem &outerTpl=Outer-Nav &innerTpl=Firstlevel-Nav &rowTpl=Inner-Row
&excludeDocs='1,136' ]]
&excludeDocs, it only works for first number specified. (In above case only 1 navigation item is hidden, nav(136) is visible.
Any thoughts on this?
-
☆ A M B ☆
- 24,524 Posts
Try it like this. Use backticks `` not single-quotes.
[[ Wayfinder? &startId=`0` &parentRowTpl=`Firstlevel-NavItem` &outerTpl=`Outer-Nav` &innerTpl=`Firstlevel-Nav` &rowTpl=`Inner-Row` &excludeDocs=`1,136`]]
&excludeDocs=`1,136`
Not working in modx-1.0.13....
-
☆ A M B ☆
- 24,524 Posts
Works for me...
[[Wayfinder?
&startId=`0`
&hereClass=`current`
&outerTpl=`wf.outerTpl`
&excludeDocs=`3,4`
]]
But I'm working with a version downloaded from github last week. It may be different than the 1.0.13 release.
exclude = 1 and (configuration) start site = 1 would conflict?
umm nevermind
[ed. note: fourroses666 last edited this post 10 years, 10 months ago.]
Evolution user, I like the back-end speed and simplicity
