Answer the question
In order to leave comments, you need to log in
How to exclude last added resource from ModX selection?
I welcome everyone!
There is a news container.
How to exclude the last added news from the selection?
Here it seems to have excluded the &resources=`-16` resource. It works, but I don't think it's done right.
Maybe there is a correct conclusion more original and correct.
Answer the question
In order to leave comments, you need to log in
https://docs.modx.pro/komponentyi/pdotools/snippet...
There is a wonderful first parameter , I also assume that you will sort in reverse order, I added both parameters, the final snippet call looks like this:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question