We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
Add-ons
Creating & Repurposing Content
Ditto
Search
A Random Ditto Outputt
263 Posts
dragonlord
Reply #1,
19 years, 5 months ago
Hello,
I want a ramdomized Ditto Output of 1 document on my startpage.
I use to test this syntax:
[[Ditto? &tpl=`DittoAngebote` &startID=`6` &paginate=`1` &summarize=`1` &randomize=`on`]]
But it only shows the same output. After pressing F5 it will still be the same output.
Any ideas?
74 Posts
Paintbox
Reply #2,
19 years, 5 months ago
I am a beginner to ModX , but something I noticed is that you use [[ double square brackets ]],
Instead maybe use
[! Ditto Blabla !]
So bracket + exclamation mark, to prevent caching the document. Worth a shot...or wait for the real experts
3,975 Posts
Zaigham (aka zi)
Reply #3,
19 years, 5 months ago
Paintbox is right
regards.
Zaigham R -
MODX Professional
|
Skype
|
Email
|
Twitter
Digging the interwebs for #MODX gems and bringing it to you.
modx.link
3,250 Posts
MARKSVIRTUALDESK
Reply #4,
19 years, 5 months ago
This would be the correct call if you are using Ditto 2:
[!Ditto? &tpl=`DittoAngebote` &parents=`6` &display=`1` &randomize=`1`!]