B
B
boberskyibohdan2022-01-18 10:54:35
MODX
boberskyibohdan, 2022-01-18 10:54:35

Why doesn't hideContainers work in getResources?

Here is my structure
61e670b99cc43120939151.png

I display it in the Blog with this code

[[!getPage?
    &elementClass=`modSnippet`
    &element=`getResources`
    &tpl=`blg-itm`
    &includeTVs=`1`
    &processTVs=`1`
    &parents=`2`
    &hideContainers=`1`
    &limit=`10`
]]


As a result, it shows me both categories (containers) and my posts. How to solve this problem?

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
D
Danny Arty, 2022-01-18
@DanArst

Are you sure that your "containers" are really containers? And IMHO pdoTools will be more convenient
61e6761031ce6123014899.jpeg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question