Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 14 Mar 2012, 23:37
stefano9lli's Avatar
stefano9lli stefano9lli is offline
 
Join Date: Sep 2009
CMS - sort by date?

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?
Reply With Quote
  #2  
Old 15 Mar 2012, 12:03
Dead Eddie's Avatar
Dead Eddie Dead Eddie is offline
 
Join Date: Apr 2004
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?
Reply With Quote
  #3  
Old 16 Mar 2012, 15:27
stefano9lli's Avatar
stefano9lli stefano9lli is offline
 
Join Date: Sep 2009
Sort for section
###
EDIT: I've found querystring for forums (sort=voteavg) but nothing for articles

Last edited by stefano9lli; 16 Mar 2012 at 17:30.
Reply With Quote
  #4  
Old 16 Mar 2012, 19:00
Dead Eddie's Avatar
Dead Eddie Dead Eddie is offline
 
Join Date: Apr 2004
Originally Posted by stefano9lli View Post
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.
Reply With Quote
  #5  
Old 16 Mar 2012, 22:31
willy888 willy888 is offline
 
Join Date: Apr 2006
CMS Published Calendar widget
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 20:18.

Layout Options | Width: Wide Color: