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

    I have a problem with using two Ditto snippets on a page. The first snippet is placed directly on the page and displays news ordered by post date descendingly with pagination. The second snippet is located in the container template (like MODxHost) to display recent articles without pagination.

    When user just visits the news page, everything works fine. But when user goes to the second page of the paginated news, the recent articles in the sidebar aren’t displayed anymore.

    Anyone has an idea on what I can be doing wrong?
      • 20413
      • 2,877 Posts
      I think they are needed different &id=`sidebar` parameter. And then the pagination placeholders will have to be adjusted e.g. [+sidebar_next+]

      Also you could probably use ListIndexer snippet for the same results. But then you will have to edit inside the snippet code to get it your way.
        @hawproductions | http://mrhaw.com/

        Infograph: MODX Advanced Install in 7 steps:
        http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

        Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
        http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower