A
A
Artyom2020-07-29 20:05:52
MODX
Artyom, 2020-07-29 20:05:52

How to get documents assigned to a certain category using pdoResources?

Good afternoon, the site has a list of links, I need to display links to documents assigned to a certain category in it, my idea is to create a separate chunk that will be displayed several times. But in it you need to somehow select the resources belonging to this category using pdoResources. On https://docs.modx.pro/komponentyi/pdotools/snippet... I did not find how to do this, if it is possible, write how to do it, and if not, what other options are there for solving this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Golyagin, 2020-07-30
@webrevenue

&parents=`0`- output of resources from the current category.
2. Make a TV option - let it be a category, in it specify the id of the categories from which to display resources and specify&parents=``

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question