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.
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
You need to append the id to all of the placeholders:
So [+start+] would be [+start_bignews+]
On a sidenote, which format is better: prefix_start or start_prefix?