Answer the question
In order to leave comments, you need to log in
How to display elements of MODX subcategories?
Hello.
There is such a structure
-Main category
--Category two
---Category elements
--Category three
---Category elements
I display everything through getresources
1. When we are on the main category, subcategories should be displayed (category two, three, etc.)
2 When we are on "Category two" its elements should be displayed.
So far, the first point works
The second point does not work, since getresources does not know how to make a selection, it refers to the subcategory, but data (tv) should be taken [at the moment tv is taken by subcategories, but should take tv elements] for elements. Please help resolve this issue. Thanks to all.
Answer the question
In order to leave comments, you need to log in
Here is the challenge in the main category
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question