Answer the question
In order to leave comments, you need to log in
MODx Evo, Wayfinder, second level menu?
Friends, we really need your help!
I work with MODx for the second time, the first time there was the same snag, but I overcame it by finding a similar problem and its solution, now it doesn’t work. After reading numerous guides - my head is full of porridge, I really need help from experienced MODx'a.
There is a menu with the following code:
<ul class="nav navbar-nav">
<li class="active"><a href="index.html">HOME</a></li>
<li><a href="about.html">ABOUT</a></li>
<li><a href="contact.html">CONTACT</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">PAGES <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="blog.html">BLOG</a></li>
<li><a href="single-post.html">SINGLE POST</a></li>
<li><a href="portfolio.html">PORTFOLIO</a></li>
<li><a href="single-project.html">SINGLE PROJECT</a></li>
</ul>
</li>
</ul>
Answer the question
In order to leave comments, you need to log in
I solved the question, maybe someone needs
Chunk menu:
<ul class="nav navbar-nav">
</ul>
<li [+wf.classes+]>
<a href="[+wf.link+]" [+phx:if=`[+wf.wrapper+]`:ne=``:then=`class="dropdown-toogle" data-toggle="dropdown"`+]>[+wf.linktext+]</a>
[+phx:if=`[+wf.wrapper+]`:ne=``:then=` <ul class="dropdown-menu">[+wf.wrapper+]</ul>`+]
</li>
[+wf.wrapper+]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question