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
Navigation & Tagging/Taxonomy
Wayfinder
Search
sort by date
148 Posts
bakalek
Reply #1,
18 years, 9 months ago
Hello all,
Looking through the WF parameters:
http://www.muddydogpaws.com/development/wayfinder/parameters.html
cant believe that there is no sortBy ’pub_date’ or ’editedon’
Did anybody had any luck with hacking this?
Thanks,
Aleks
MODx Revo 2.0.6-pl (Traditional) | Apache 2.2.3 | PHP 5.2.14 | MySQL 5.0.77 | MAC OS 10.6.5 | FF 3.6/Chrome 9.0.5
2,310 Posts
bunk58
Reply #2,
18 years, 9 months ago
I’m pretty sure you can use any field in the database.
I’ve just tried
&sortBy=`editedon`
and
&sortBy=`pub_date`
and they worked great
David
4,205 Posts
dev_cw
Reply #3,
18 years, 9 months ago
Cool news
This week I found out that you CAN use template variables in wayfinder chunks AND now I find out that you CAN sort by dates...this has been a good week
BTW - I confirm it works.
[font=Verdana]Shane Sponagle
|
[wiki] Snippet Call Anatomy
|
MODx Developer Blog
|
[nettuts] Working With a Content Management Framework: MODx
Something is happening here, but you don't know what it is.
Do you, Mr. Jones? - [bob dylan]