We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11927
    • 105 Posts
    I would like to have a separator or divider in between posts.

    ie.

    post 1
    ----
    post 2
    ----
    post 3

    But the only way I can think of doing that is by having it in the BlogTemplate chunk. But then the divider would also be after the last post displayed, which I wouldn’t want.
      You may or may not want to use the code I write. It's probably all against the syntax rules of php and MODx. smiley

      Carpet Cleaning
      • 12584
      • 208 Posts
      OK I am far from an expert on this as you can see from my other posts but I think I know this one.

      Create another template that does not have the seperator call it something like finnish for example and in your ditto call add this &tplLast=`finnish`

      Hope that works more useful stuff can be seen on this page http://ditto.modxcms.com/files/snippet-ditto-php.html

      Cheers
        • 11927
        • 105 Posts
          You may or may not want to use the code I write. It's probably all against the syntax rules of php and MODx. smiley

          Carpet Cleaning