K
K
kornspb2019-07-25 23:04:37
MODX
kornspb, 2019-07-25 23:04:37

How to display the last published article first, and then 2 random ones using Ditto or Doclister so that the first article is not duplicated?

It is necessary to display the last published document on the main page first, then 2 random ones. Tried to make 2 requests. But it turns out that in a request from two random documents, the very last published one sometimes comes across. It is necessary to filter the last published, but have not yet found a solution how to do this.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question