[[+content_image]]
B
B
bulldojka2016-12-05 15:30:50
MODX
bulldojka, 2016-12-05 15:30:50

How to ignore pagination in getPage?

There is a page with finished projects and pagination.
There is a general menu, under which 3 elements from another section are displayed (name, picture)

[[!getPage? &elementClass=`modSnippet` &element=`getResources` &parents=`7` &tpl=`underMenu` &depth=`0` &limit=`3` &includeTVs=`1` &hideContainers=`1`]]

When moving to subsequent pages (2, 3 ... etc.), these 3 elements also change.
Is it possible to make that pagination is not taken into account in these elements and only the last 3 projects are displayed, i.e. regardless of the current page number, there were 3 recent projects under the sidebar.

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