B
B
be_a_man2017-08-13 22:52:38
MODX
be_a_man, 2017-08-13 22:52:38

Modx output articles by numbering?

You need to display the last 3 articles on the main page. The template is non-standard. Can I somehow display by number from the last, last, penultimate, penultimate? 42cf24cbd5ff404abfc8b89d8b05596d.png
UPD: The layout of the block itself is not an option to decide, you just need to set it rigidly - here we display the first, here the second, here the third

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Zdorov, 2017-08-13
@be_a_man

Can I somehow display by number from the last, last, penultimate, penultimate?

not quite clear what you mean? output the last 3? decides the sorting direction ASC or DESC
if about templates, then use :nth-child or add classes to the template will give numbering

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question