M
M
Matvey Tomilov2018-08-05 12:29:55
MODX
Matvey Tomilov, 2018-08-05 12:29:55

How to display only even migx resources in getImageList?

There is a tv migx in which there are a lot of points, how to make it so that getImageList would display only even ones
. I know that in pdoTools there is one &tvFilters=`show==1`that displays only those resources for which tv show is 1
And getImageList has a placeholder - will return 1, if it is an even entry.
How to arrange it correctly?
upd
Will it work like this?
output odd


even output

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Michael, 2018-08-05
@etozhematvekat

Looks like _alt can't be used in the selection, so we need to move the logic to the record chunk:

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question