We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27968
    • 19 Posts
    Hello! Firstly, sorry for my English: I’m form Russia.

    Mark, thank you for Ditto: it’s the best snippet, very usefull for sites.

    But I’ve a question about pagination. Now it looks like

    Previous 1 2 3 4 5 6 7 Next

    Is it possible to show TV.Parameters of documents instead of 1 2 3 4 5 6 7 (for example [+image+])? Hope, you can help me.

    And thanks once more for your job!
      • 27330
      • 884 Posts
      the page here http://ditto.modxcms.com/tutorials/pagination.html
      has pretty neat CSS buttons.

      start with that and change for your liking. that is if all you trying to do is use images for the buttons...
        • 16278
        • 928 Posts
        If I understand correctly, you would like to have
        [Previous] [image for page 1] [image for page 2] [image for page X] ... [Next]

        instead of page numbers in the [+pages+] placeholder? I don’t think that is possible a simple matter, since the pagination placeholders refer to the page the Ditto call belongs to. Maybe this is a challenge to create a new Ditto extension! rolleyes
        KP
          • 4172
          • 5,888 Posts
          I think you can have a snippet in your titto-template which sets modx-placeholders for the links. Then you can get this placeholders for your links. Something like that can work, I think.
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!