Answer the question
In order to leave comments, you need to log in
How to properly display pagination on modx revo?
Good afternoon.
I output the following code
[[!pdoPage?
&element=`pdoResources`
&limit=`5`
&depth=`0`
&parents=`335`
&includeTVs=`image`
&includeContent=`1`
&sortdir=`DESC`
&tpl=`copy_tpl_main_bk`
&tplPageWrapper=`@INLINE <ul class="actions pagination">[[+first]][[+prev]][[+pages]][[+next]][[+last]]</ul>`
&pageLinkScheme=`/[[+pageVarKey]]-[[+page]]`
]]
</article>
[[!+page.nav]]
</div>
Answer the question
In order to leave comments, you need to log in
Isn't it easier to just throw css on the markup that is generated?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question