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?
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.