We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19309
    • 49 Posts
    A MODX site (using MODX Revolution 2.2.0-pl2) I built eight months ago has a problem. The URL parameter for pagination is ignored. The url http://…url-to-list-page…/?page=2 returns a page which shows the same results as the page http://…url-to-list-page…/ (without the paging-parameter). And even if the URL tells me that I’m watching “?page=2” the page navigation tells me that I’m still on page 1.

    As far as I can remember everything worked fine when I developed the site.

    These are the calls used to display content and pagination:
    <section class="clearfix gallery-video-list">
        [[!getPage@MediathekPaging? 
           &element=`getResources` 
           &parents=`[[*id]]` 
           &limit=`9` 
           &tpl=`video-list-item` 
           &tpl_3=`video-list-item-3rd` 
           &depth=`0` 
           &sortby=`{"menuindex":"ASC"}` 
           &includeTVs=`1` 
           &processTVs=`1`
        ]]
    </section>
    <div class="page-nav">[[!+page.nav]]</div>


    The Property Set “MediathekPaging” used in the getPage call above is attached as a screenshot.

    Anyone here ever had a similar problem?

    This question has been answered by MichaelvanLaar. See the first response.

    • discuss.answer
      • 19309
      • 49 Posts
      Problem solved. Cache was enabled for the specific page.