`Why is PdoPage navigation not working?
R
R
RushV2020-01-19 11:06:16
MODX
RushV, 2020-01-19 11:06:16

Why is PdoPage navigation not working?

Hello! Set
up as here
5e240c4697864844343436.jpeg

&tpl=`tplPageNavCartProduct`
&limit=`1`
&parents=`621143`
&tplPageWrapper=`@INLINE <nav aria-label="pagination"><ul class="pagination"></ul></nav>`
&tplPageFirst=`@INLINE <li class="page-item"><a class="page-link" href="">Первая</a></li>`
&tplPageLast=`@INLINE <li class="page-item"><a class="page-link" href="">Последняя</a></li>`
&tplPage=`@INLINE <li class="page-item"><a class="page-link" href=""></a></li>`
&tplPageActive=`@INLINE <li class="page-item active"><a class="page-link" href=""></a></li>`
&tplPagePrev=`@INLINE <li class="page-item"><a class="page-link" href=""><span aria-hidden="true">«</span><span class="sr-only">Previous</span></a></li>`
&tplPageNext=`@INLINE <li class="page-item"><a class="page-link" href=""><span aria-hidden="true">»</span><span class="sr-only">Next</span></a></li>`
&tplPagePrevEmpty=`@INLINE <li class="page-item disabled"><a class="page-link" href=""><span aria-hidden="true">«</span><span class="sr-only">Previous</span></a></li>`
&tplPageNextEmpty=`@INLINE <li class="page-item disabled"><a class="page-link" href=""><span aria-hidden="true">»</span><span class="sr-only">Next</span></a></li>`
]]
<div>
    
</div>

Why links in the navigation are not displayed correctly at the end of the link "page-x" 5e240d4f5ddf8013530835.jpeg
Is there any way to fix this?
Thank you in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Tarasov, 2020-01-19
@an-tar

And what do you want - together page-x CNC? by default, it should be so, pdoPage displays everything correctly for you. If CNC, you need to write a plugin.
Please clarify what is wrong here.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question