We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18397
    • 3,250 Posts
    MARKSVIRTUALDESK Reply #11, 20 years ago
    Try out the new Ditto 1.1 Beta 1 as I implemented Ditto ID’s that uniquely identify Ditto parameters in the URL. You simply add &id=`uniquethingie` to the call with a unique value each time and then ditto automatically appends the _uniquesomethingie to each parameter that gets passed via URL.
      • 6221
      • 36 Posts
      Hi!
      This is great, however, I have not gotten it to workcorrectly this is my two calls:

      [!ditto? &startID=`4` &tpl=`big_news_template` &summarize=`3` &multiLevel=1 & &paginate=`1` &paginateAlwaysShowLinks=`0` &showPublishedOnly=`1` &sortBy=`pub_date` &trunc=`1` &truncChars=`1` &truncLen=`300` &truncOffset=`30` &id=`bignews`!]

      and

      [!ditto? &startID=`5` &tpl=`litte_news_template` &summarize=`6` &multiLevel=1 & &paginate=`1` &paginateAlwaysShowLinks=`0` &showPublishedOnly=`1` &sortBy=`pub_date` &trunc=`1` &truncChars=`1` &truncLen=`100` &truncOffset=`30` &id=`smallnews`!]

      My problem is that now, pagination does not work at all, it doesn’t find any news at all....edit: DITTO finds the news, although pagination calls doesn’t work
        • 18397
        • 3,250 Posts
        MARKSVIRTUALDESK Reply #13, 20 years ago
        You need to append the id to all of the placeholders:

        So [+start+] would be [+start_bignews+]
          • 18397
          • 3,250 Posts
          MARKSVIRTUALDESK Reply #14, 20 years ago
          On a sidenote, which format is better: prefix_start or start_prefix?
            • 6221
            • 36 Posts
            i think "start_prefix" (but then it isn’t a prefix but a suffix laugh

            EDIT: IT WORKS LIKE A CHARM!!! Thanks alot for this Mark!!