Oredered Lists
8 posts by 2 authors in: Forums > CMS Builder
Last Post: December 4, 2009 (RSS)
By Kristamk - December 3, 2009
I have a list ordered by oldest entries to newest. Can I change it so that the most recent dates in the list display first automatically?
I know this may be an odd subject but they are nice business owners, here's the page in question, http://www.litwillersimonsen.com/memorials_list.php
I'm planning to use CMS on other projects as well.
Thanks!
K
Re: [Kristamk] Oredered Lists
By Damon - December 3, 2009
If you change the sort order for Memorials to be be "date DESC", the listings will sort most recent date to oldest date:
In CMS Builder:
Admin > Section Editors > Memorials
- click on the "Sorting" tab and in the "Order By" field enter "date DESC" (without the quotes).
- save and then take a look at the listings page.
The listings should now automatically sort correctly.
Hope that helps. Let me know if you have any questions.
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Damon] Oredered Lists
By Kristamk - December 4, 2009
When i did this, i got this message, "If used, dragSortOrder must be the first field in 'Order By'!"
Thanks,
Krista
I included a screen shot.
Re: [Kristamk] Oredered Lists
By Damon - December 4, 2009
You won't be using "dragSortOrder" for Memorials so you can remove it :
- Admin > Section Editors > Memorials: erase "dragSortOrder" form the list.
- General tab: remove "dragSortOrder" from the "ListPage Fields"
- Sorting tab: remove "dragSortOrder" from the "Order By" field and add the date sorting
- click the "Save Details" button
That should be it. Let me know if that resolves it for you.
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Damon] Oredered Lists
By Kristamk - December 4, 2009
Please see attached. You're saying to erase the Order field that I have highlighted in red outline? I'm being careful I just don't want to lose the list. Please confirm
Thanks
Krista
Re: [Kristamk] Oredered Lists
By Damon - December 4, 2009
An image wasn't attached to your last post.
You do need to delete the dragSortOrder field (Order - Field Label) before changing the sort option to date.
If you are worried making a mistake, backup your database ( Admin > General Settings) and download a copy of your /schema/ files.
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Damon] Oredered Lists
By Kristamk - December 4, 2009
Here's an attachment.
Thanks for the info on backing up.
Krista
Re: [Kristamk] Oredered Lists
By Damon - December 4, 2009
I took a look at the image and that is the right one to delete.
Let me know how that works out and have a great weekend.
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/