A
A
alex5e2015-09-12 13:16:43
MODX
alex5e, 2015-09-12 13:16:43

How to add menu item without href in modX?

Tell me how to make a menu item in the resources without href links?
affe06df8245418b9ea7b2415b27225b.jpg

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sanes, 2015-09-12
@Sanes

Depends on how you output it. The link should be in any case, it's the same document.
In the template, do whatever you want, like pdoMenu or with Javascript. Example , substitutes # for a drop-down item.

S
Sergey, 2015-09-12
@dpmango

In the admin? No, it won't work otherwise.
In the template, depending on what you output - getresources or wayfinder. &tpl='' to set menu item template manually

M
Mikhail, 2015-09-17
@kupavtsev

You can try manually via the TV parameter with the default value and in the Wayfinder template output via PHx.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question