G
G
Ganjubas_Original2017-04-28 09:48:27
MODX
Ganjubas_Original, 2017-04-28 09:48:27

How to get &last in pdoResources?

Help me to understand. I use pdoResources to display information. When outputting resources, I need to know that this output iteration is the last one and there are no more resources.
There is a &last parameter in the documentation, but I don't quite understand how it works.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sanes, 2017-04-28
@Sanes

Maybe pdoPage will suit you better?

D
DarWiM, 2017-05-04
@DarWiM

The first thing that comes to mind:

&tplLast — Имя чанка для последнего ресурса в результатах.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question