We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8416
    • 173 Posts
    Hi,
    I’m using a Ditto call as follow:
    [!Ditto? &startID=`225` &display=`4` &paginate=`1` &paginateAlwaysShowLinks=`1` &extenders=`summary,dateFilter,tagging` &tagData=`BlogTags` &tagDelimiter=`,`  &tpl=`ditto_blog` &tagMode=`onlyTags` &tags=`Destinations, Accommodations` &clearcache=`1` !]
    <div>Showing <strong>[+start+]</strong> - <strong>[+stop+]</strong> of <strong>[+total+]</strong> Blogs</div>
    <div id="ditto_pages">[+previous+] [+pages+] [+next+]</div>
    

    I have a template with 2 side columns (left and right), the ditto contents get displayed between the side columns. When I click on "next" to paginate (http://test/blog.html?start=4), the columns contents gets shifted up at each pagination call. It looks like I have to do something in CSS to keep the column contents to display right but I can’t seem to get it to work. I tried "position:relative" to no effect. Any idea of what might be happening, do I need to change something in ditto?
    Thanks for your help.
      • 8416
      • 173 Posts
      I think I know what’s going one...The problem is that I’m using ditto to display the column contents also and the pagination applies to all the ditto calls on the same page. Is it possible to have multiple dittos in one document and still maintain for each one its own pagination?
      Thanks
        • 8416
        • 173 Posts
        I fixed it by using the parameter &id=`prefix` in my ditto call and then adding the id to all of the placeholders as a prefix such as [+start+] would be [+prefix_start+]

        I hope that’ll help somebody and save some time...

        Eric