Hello,
I'm still looking for a clean solution to build a correct call to create links ONLY corresponding the following tree part menu depending on wich language context we are.
Thank for helping
(0)
Context WEB
|_ Accueil(
1) [excluded]
+|_ sub1 (8)
+|_ sub2 (9)
+|_ sub3 (10)
|
...
...
|_PAGE2 (2)
+|_ cat1 (
25) [exclude all those potential child /template (5)/ ]
...
...
-------------------------- second CX -------
Context EN
|_ Home (
3) [excluded ??]
+|_ sub1 (11)
+|_ sub2 (12)
+|_ sub3 (13)
|
...
...
|_PAGE2B (7)
+|_ cat1 (
36) [exclude all those potential child /template (5)/ ]
...
...
In every case I have not the same result in each contexts.
I can not exclude the Home (3) in english cx as I can exclude the accueil(1) in the default web cx. All tries I did to exclude it make the menu totally navished
here's the last versions of my call (don't focus on the different complex &tpl) for FR and EN cx
WEB (fr) callWFH-fr
[[Wayfinder? &startId=`0` &level=`2`
&selfClass=`current`
&startItemTpl=`WF-homeTPL`
&rowIdPrefix=`go_`
&outerTpl=`WF-outerTpl`
&parentRowTpl=`WF-menuH-parentRowTpl`
&innerTpl=`WF-innerTplFLAT`
&innerRowTpl=`WF-menuH-innerRowTpl`
&rowTpl=`WF-rowTpl0`
&excludeDocs=`25`
&where=`[{"template:!=": "5"}]`
&includeDocs=`0`
]]
EN $callWFH-en
[[Wayfinder?
&contexts=`en`
&startId=`0`
&level=`2`
&selfClass=`current`
&startItemTpl=`WF-homeTPL` &displayStart=`1`
&rowIdPrefix=`go_` &outerTpl=`WF-outerTpl`
&parentRowTpl=`WF-menuH-parentRowTpl`
&innerTpl=`WF-innerTplFLAT`
&innerRowTpl=`WF-menuH-innerRowTpl`
&rowTpl=`WF-rowTpl0`
&excludeDocs=`36`
&where=`[{"template:!=": "5"}]`
]]
[ed. note: elz064 last edited this post 9 years, 1 month ago.]