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

    I’m still new in modx, I’m trying to do news pagination, I don’t know wat’s wrong

    [!Ditto? &tpl=`ditto_main` &display=`all` &dateFormat=`%Y-%d-%m %H:%S` &depth=`2` &paginate=`1` &paginateAlwaysShowLinks=`1`!]

    [!splitPagination!]

    What kind of parameters I need to join ditto with Reflect??? I have read tutorial, but nothing goes on... sad so I found splitPagination snippet, but it’s still don’t work...

    Pleas, help my on this. If you can post links correct links here to read about it, or if you can explain this with examples... any way I will be werry grateful for any info wink
      • 22586
      • 74 Posts
      I have taken a look, but your example is different from the one given on the ditto support site, so you might want to try that first:

      http://ditto.modxcms.com/tutorials/pagination.html

      Maybe get rid of the dateformat tag first (first make it barebones to make it work) , plus you also don’t seem to have the summarize tag yet.
      Hope this helps, otherwise just wait for the real experts to come in!

      PS Just reread your post , if you are looking to sort on date, try this tutorial :
      http://ditto.modxcms.com/tutorials/sort-by-a-date-tv.html

        • 12695
        • 13 Posts
        Thanks Paintbox grin grin grin this one really helps.. well I just miss that one to write id prefix in pagination template wink I’m working on modx, it’s the best CMS of all.. but of course it have disadvantages as all.. This one with two groups of users manager and web... I have done, that web user is loged into web user and mgr user in one web log. but offcourse a lot depends from others programmers... anyway thanks once again wink


        regards Ignas