View Full Version : CMS - sort by date?
stefano9lli
03-14-2012, 11:37 PM
I want to generate a link that allow user to sort articles by date with a querystring (ie. ?orderby=date) or similar.
I don't need the option from editing section :)
Can any1 help me?
Dead Eddie
03-15-2012, 12:03 PM
Can you be more specific?
Sort articles within a section?
Sort articles displaying within a section?
Sort articles displaying within a category?
Sort ALL articles?
All published articles?
stefano9lli
03-16-2012, 03:27 PM
Sort for section
###
EDIT: I've found querystring for forums (sort=voteavg) but nothing for articles
Dead Eddie
03-16-2012, 07:00 PM
Sort for section
###
EDIT: I've found querystring for forums (sort=voteavg) but nothing for articles
That still leaves two options:
All articles that are assigned to the section or all articles that display in the section.
There's no query parameter for either at the moment, so it'll have to be hacked in. Additionally, I did a quick scan of the places you'd do either, and I didn't see any hooks, so it looks like it'll involve directly modifying files.
willy888
03-16-2012, 10:31 PM
CMS Published Calendar widget
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.