Quote from: opengeek at Aug 11, 2011, 12:44 PMThe tree_default_sort System Setting (under the area called Back-End Manager) controls this in Revolution.
But what do you change it too?
I can't see any fields or options to change it to a date or an id.
[ed. note: markg last edited this post 7 years, 9 months ago.]
Content Creator and Copywriter
It will take the name of any of the Resource fields. id, createdon, publishedon, etc.
There's a full list here:
https://bobsguides.com/modx-object-quick-reference.html#modResource
Quote from: BobRay at Apr 14, 2017, 04:53 AMIt will take the name of any of the Resource fields. id, createdon, publishedon, etc.
There's a full list here: https://bobsguides.com/modx-object-quick-reference.html#modResource
Tried a few, doesn't seem to work. Maybe I'm missing something or expecting it to do something it can't.
Is there some other setting that needs changing?
I'd prefer title or date as the default sort order so I tried changing the value to publishedon and then pagetitle - no difference.
Content Creator and Copywriter
Setting it to pagetitle should get them sorted by title. You may have to manually delete all files in the core/cache directory before it takes effect.
For dates, you'd need to set it to createdon, publishedon, or editedon.
Quote from: BobRay at Apr 19, 2017, 07:45 PMSetting it to pagetitle should get them sorted by title. You may have to manually delete all files in the core/cache directory before it takes effect.
For dates, you'd need to set it to createdon, publishedon, or editedon.
Yeah, that's what I tried, just doesn't work. I've cleared the cache about two dozen times and no change.
Or did you mean actually access the directory via a panel or ftp and delete all the folders that way?
I looked in there and it's kinda scary, there are config files and alls sorts in the cache directory.
Content Creator and Copywriter
As long as you make sure you're in the cache directory, you can delete everything there. I've done it several hundred times.
Log out of the Manager before doing it (no harm if you don't, but you'll need to log out for MODX to regenerate your settings).