V
V
vladimirr892018-04-08 16:17:17
MODX
vladimirr89, 2018-04-08 16:17:17

Where is the "Load more" button?

I made Ajax load articles on the page using pdoPages, but when a button is displayed from somewhere, another "Load more" appears from the bottom, as in the screenshot. In which file is it written to delete?
I also reset the part of the code responsible for the output, maybe there is something to fix here?

<div id="pdopage">
        
            <div class="container rows">
                
                
                
                <button class="show-more btn-more">Показать еще</button>
                <button class="to-top" title="Вверх"></button>
            </div>
        </div>

5aca165748766119115861.jpeg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Igor, 2018-04-12
@vladimirr89

&ajaxTplMore=`@INLINE <button class="btn btn-default btn-more">pdopage_more</button>`

https://docs.modx.pro/components/pdotools/snippets...

S
Sanes, 2018-04-08
@Sanes

in js scripts like
/assets/components/pdotools/js/pdopage.min.js

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question