C
C
Cheizer2017-09-20 12:45:24
MODX
Cheizer, 2017-09-20 12:45:24

MODx Revo how to filter by TV the output of items in the menu?

I broke my whole head, I can’t figure out how to filter the output by TV using pdoMenu, I created a checkbox type for TV resources to separate the top menu from the bottom one, the TV order itself, 1 or empty is displayed. And when outputting, I want to filter my pages for the bottom menu, and mine for the top one, how to do it correctly? It is not an option to specify via the &resoourses=`2,3,5` parameter in the snippet call, the user will not go into setting up the snippet if anything, it is easier for him to put or remove the checkbox when editing the document. How to implement this please tell me.
This is not how it works :(

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
display: block, 2017-09-20
@qork

&where=`{"bottom_menu":"1"}`is not it so?
или &where=`{"bottom_menu:=":"1"}`

A
Anton, 2017-09-20
@Anton2022

Try like this:

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question