Hello
I need to jump a submenu.
here is my menu and I need to supress the second L’Atelier
- menu1
-- link 1-1
-- link 1-2
-- link 1-3
-- link 1-4
- menu 2
-- sub 2-1
---- link 2-1-1
---- link 2-1-2
---- link 2-1-3
-- sub 2-2
---- link 2-2-1
---- link 2-2-2
---- link 2-2-3
- L'atelier
-- L'atelier
---- link 1
---- link 2
---- link 3
The final result would be
- menu1
-- link 1-1
-- link 1-2
-- link 1-3
-- link 1-4
- menu 2
-- sub 2-1
---- link 2-1-1
---- link 2-1-2
---- link 2-1-3
-- sub 2-2
---- link 2-2-1
---- link 2-2-2
---- link 2-2-3
- L'atelier
-- link 1
-- link 2
-- link 3
To see the real menu, go to https://www.espace-awen.ch/latelier/atelier/en-eutonie.html abd minomized the width of the window to have the smartpone view.
Then clcik to the left botton to show the slide menu
Click on “L’atelier”
The slide will move and you have to click again on the “L’atelier” to have the next menu.
I want to supress the second L’Atelier and to have directely the links
Is there way to say to Wayfinder to jump de submenu if there is only one submenu at the same level?
I created a rowTl
<li [[+wf.classes]]>
<a href="[[+wf.link]]" title="[[+wf.title]]" [[+wf.attributes]] class="nav-lik">[[+wf.linktext]]</a>
[[+wf.wrapper]]
</li>
and I wunder if something would help (adding a second Wayfinder call into a Wayfinder
<li [[+wf.classes]]>
[[If?
&subject=`[[+wf.docid]]`
&operator=`!=`
&operand=`7`
&then=`<a href="[[+wf.link]]" title="[[+wf.title]]" [[+wf.attributes]] class="nav-lik">[[+wf.linktext]]</a>
[[+wf.wrapper]]`
&else=`[[Wayfinder? &startId=`7` &level=`1` &outerClass=`ul` &levelClass=`level` &innerClass=`innerClass` &hideSubMenus=`0` &hereClass]]`
]]
[[+wf.wrapper]]
</li>
Of course, it does not work, but what would be your idea?
Many thanks