-
- 117 Posts
Hi all
Can we limit the total amount of articles Ditto displays?
I have a page called ’New’ which uses Ditto to order articles by `createdon` and with pagination - thats cool - but as the site has 500+ articles (and I don’t want to archive stuff on a page called ’New’) I’d like Ditto to only show the 50 in total (and display 5 at a time ie. summarize=`5`)
Possible?
Continued big-ups to all the MODx crew.
- 0
-
- 4,213 Posts
There is a &total parameter. Please look at the Ditto
documentation for it’s
parameters.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
-
- 117 Posts
Cheers mate, easy when you know how (or read documentation!)