M
M
Matvey Tomilov2018-08-31 13:37:56
MODX
Matvey Tomilov, 2018-08-31 13:37:56

How to disable block output when pdoresources is empty?

There is a block with a title, inside - resources that are displayed using pdoresources.
How can I disable the output of the entire block if there are no resources?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan, 2018-08-31
@etozhematvekat

The &tplWrapper setting, in it we specify the chunk in which we check for emptiness.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question