We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23050
    • 1,842 Posts
    Hi,

    Well it’s a bit complicated to explain the problem : &paginate works fine. I mean links with [+pages+] are well displayed and urls seem to be fine (for example : http://www.deco-in.com/vitrine/accessoires?start=2).

    But, when I click on it, I’m still on the same page with the 2 documents on first page.

    Here is the Ditto call (I call it in a chunck, which one is in each folder of the site):
    [[Ditto? &debug=`1` &depth=`2` &display=`2` &paginate=`1` &hideFolders=`1` &tpl=`ListeProduitCategories1` &tplAlt=`ListeProduitCategories2` &noResults=`<p>Aucun produit n'est enregistré dans cette rubrique</p>` ]]
    {{PaginationListeProduits}}


    {{PaginationListeProduits}} is pretty small :
    <div class="PJN_Menu">[+pages+]</div>


    Furthermore, I can’t get the debug console opened : I get the homepage in popup.

    To see this, you can log in here : www.deco-in.com/manager with Visiteur / visiteur123

    Pages where I should be able to navigate with pagination is here : http://www.deco-in.com/vitrine/accessoires (4 documents in this folder)

    Thank for any idea you might have. I guess there’s something wrong with url.. I tried to disable some plugins but nothing worked.
      • 23050
      • 1,842 Posts
      Ok, my MODx angel Heliotrope found the solution smiley

      As the Ditto call need to be uncached for pagination, I don’t have to put the document where I call Ditto with pagination in the cache... embarrassed
        • 17329
        • 53 Posts
        I see that you call ditto with a cached call [[

        I remember having read that you should always call uncached [! when using paginate. I don’t know if it can solve your problem but give it a try.

        lionel
          • 23050
          • 1,842 Posts
          Hey, we have posted at the same time... anyway thanks for your help wink