We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14887
    • 5 Posts
    Hey,
    I hope i’m not making a dumb mistake, but it seems like ditto is paginating everything on my page if the &start parameter is supplied in the url even if the ditto call on the page has paginate=0. Any help? I can link to the page in question if needed.

    Thanks in advance!

    I’m using PHP5, MYSQL 5, and MODx 1.0.2

    Heres the ditto call of the paginated one.
    [!Ditto?parents=`16` &display=`4` &tpl=`BlogArticle` &paginate=`1` &paginateAlwaysShowLinks=`1` &sortBy=`pub_date` &dateSource=`pub_date` &dateFormat=`<p><span>%b</span></p><p>%e</p><div>%Y</div>`!]
    


    and heres the one without pagination:
    !Ditto?parents=`37` &display=`4` &tpl=`ArticleColumnTpl` &sortBy=`pub_date` &dateSource=`pub_date` &dateFormat=`%b %e, %Y`!]
    


    Both of these calls appear on the same page, however the second one should ignore anything that has to do with pagination, but it doesn’t.
      • 36416
      • 589 Posts
      Quote from: jrthib at Nov 16, 2009, 10:05 PM

      Both of these calls appear on the same page, however the second one should ignore anything that has to do with pagination, but it doesn’t.

      Give a different &id parameter to the second call then.
        • 33337
        • 3,975 Posts
        Make sure to add id to the pagination placeholders as well. Please see http://ditto.modxcms.com for the correct syntax.
          Zaigham R - MODX Professional | Skype | Email | Twitter

          Digging the interwebs for #MODX gems and bringing it to you. modx.link