R
R
Roman2017-10-29 13:40:57
Perl
Roman, 2017-10-29 13:40:57

How to exclude parent in pdoMenu?

Greetings!
It is necessary not to show/hide parents, but to show only children!
Call:


Menu structure:
-Раздел (ID 3)
--Родитель (ID 4)
---Ребенок
---Ребенок
--Родитель (ID 5)
---Ребенок
---Ребенок
--Родитель (ID 6)
---Ребенок
---Ребенок

Thank you!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
vaut, 2019-08-01
@DarkDD

Why are you using an array as a hash?
And so there is pushsomething that will be written in any book.

D
Dmitry Volkhontsev, 2019-08-01
@DarkDD

This construction is used in the Net::Ldaps plugin. When adding entries on ldap. I tried push but it didn't work. Used in this form: But the plugin did not take this approach. Maybe the problem is in the plugin itself...

A
Andrey, 2017-10-29
@RGBPlus

several options.
see help https://docs.modx.pro/components/pdotools/snippets...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question