R
R
RushV2019-09-05 14:46:25
MODX
RushV, 2019-09-05 14:46:25

How to display resources on the page in ModX?

Hello!
Here is the structure 5d70ea9872433755130032.jpeg
There is a category "kitchen".
For example, I am on the product page "kitchen-1" how to implement the output of all products of the "Kitchen" category?
One template per product is used.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
archelon, 2019-09-05
@RushV

those. do you need to display all "siblings" of a given resource? then in the parents parameter set the id of the parent resource:
and in the resources parameter you can exclude the current document:
more details on how to find the parent id:
https://modx.pro/help/15913

S
Sanes, 2019-09-05
@Sanes


By default, the current resource is already the parent. You can just remove this option.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question