M
M
mih_max2016-05-28 13:01:00
MODX
mih_max, 2016-05-28 13:01:00

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>

Everything works in the end, but the appearance is not at all the one I was counting on.
ae432ae569b843d29fdc32ddc65780f8.png
Should be so
e481764fe5a0494c93a265dc090cfce8.png
tell me, please, how and what to change?

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
P
Petr Marochkin, 2016-05-28
@mih_max

Isn't it easier to just throw css on the markup that is generated?

S
Sanes, 2016-05-28
@Sanes

&tpl is a template, not a style. By the way, it's not &tpl in the documentation, but &tplPage See the Uikit example . In general, you can remove all &tpl by default, there the bootstrap is already configured.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question