`How to populate pdoMenu correctly?
M
M
Matvey Tomilov2017-06-22 12:01:34
css
Matvey Tomilov, 2017-06-22 12:01:34

How to populate pdoMenu correctly?

Good afternoon! I need to make a dropdown menu in modx
I output it like this

[[pdoMenu?
            &tplParentRow=`@INLINE <li class="dropdown"><a href="#">[[+menutitle]]</a><ul class="drop-mob">[[+wrapper]]</ul></li>`
            &tplInner=`@INLINE [[+wrapper]]`
            &parents=`0`
            &level=`2`
        ]]

Everything is displayed, but I need menu items with children to be drop-down, and not always open, how can I do this?

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
F
Froggyweb, 2017-06-22
@etozhematvekat

js or css depending on the situation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question