O
O
Obulochnikov2015-04-05 12:57:40
MODX
Obulochnikov, 2015-04-05 12:57:40

Why doesn't getResources work at all?

I create a parent document in which several child .
It is assumed that the parent document is a blog with news, and the children are directly news.
I write the tag in the resource content of the parent document, but nothing happens at all.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
B
bezumkin, 2015-04-05
@bezumkin

rtfm.modx.com/extras/revo/getresources#getResource...
In recent versions, you must specify either &tpl or &debug=`1`, otherwise the snippet will not output anything.
A very strange decision.

S
Sanes, 2015-04-05
@Sanes

Discover pdoTools

Z
zooks, 2015-04-05
@zooks

I suspect that getResources is not set.

O
Obulochnikov, 2015-04-06
@Obulochnikov

Bezumkin,
tpl does not help.
And if I write Debug=`1` then it displays some code directly on the page.
bde3935589794450918798c2d78460ab.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question