V
V
Vladislav2016-03-31 07:49:05
MODX
Vladislav, 2016-03-31 07:49:05

Tell me how to create pdomenu modx menu accordion?

Can't figure out structure on pdomenu
html itself

<!--<div class="accordion">
<ul class="accordion-list">
<li class="accordion-item">
<a href="#" class="accordion-trigger">Кузовные детали ваз</a>
<ul class="accordion-inner">
<li class="accordion-inner-item">
<a class="accordion-inner-link" href="/catalog/kuzovnyie-detali-vaz/bampera/"> Бампера</a>
</li>
<li class="accordion-inner-item">
<a class="accordion-inner-link" href="/catalog/kuzovnyie-detali-vaz/dveri/"> Двери</a>
</li>
<li class="accordion-inner-item">
<a class="accordion-inner-link" href="/catalog/kuzovnyie-detali-vaz/kapot/"> Капот</a>
</li>
<li class="accordion-inner-item">
<a class="accordion-inner-link" href="catalog/kuzovnyie-detali-vaz/kryilya/"> Крылья</a>
</li>
<li class="accordion-inner-item">
<a class="accordion-inner-link" href="catalog/kuzovnyie-detali-vaz/kryishka-bagazhnika/"> Крышка багажника</a>
</li>
<li class="accordion-inner-item">
<a class="accordion-inner-link" href="catalog/kuzovnyie-detali-vaz/moldingi/"> Молдинги</a>
</li>
</ul>
</li>

and here is the output of pdomenu
<div class="accordion">
  
</div>`

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2016-03-31
@Sanes

Look at the Navbar Uikit example.
Code
Demo
And make a non-cached call to [!pdoMenu

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question