modify createdDate
4 posts by 2 authors in: Forums > CMS Builder
Last Post: March 18, 2009 (RSS)
By Shore - March 17, 2009
Hello,
I created a section editor for customer testimonials, but i added the records in reverse order.
I entered them going down the existing webpage list, whereas I should have entered them from the bottom of the webpage up.
In other words, I entered the most recent testimonial as the first record in cms builder.
So, now when I add a new testimonial, I have to drag it to the bottom of the record list each time I save it.
Is there a way to reverse the "createdDate" system field data across all records so that a new testimonial createdDate will allow for proper sorting when createdDate is used as a ListPage Field, without doing the dragsort each time?
Thanks
I created a section editor for customer testimonials, but i added the records in reverse order.
I entered them going down the existing webpage list, whereas I should have entered them from the bottom of the webpage up.
In other words, I entered the most recent testimonial as the first record in cms builder.
So, now when I add a new testimonial, I have to drag it to the bottom of the record list each time I save it.
Is there a way to reverse the "createdDate" system field data across all records so that a new testimonial createdDate will allow for proper sorting when createdDate is used as a ListPage Field, without doing the dragsort each time?
Thanks
Re: [ShoreWebmaster] modify createdDate
By Dave - March 18, 2009
Hi ShoreWebmaster, welcome to the CMS Builder forum! :)
If you are able to drag sort the records then it's likely sorting by the field dragSortOrder and not createdDate.
Try this, go into: Admin > Section Editors > Testimonials > Sorting (Tab)
and changing the sort fields to: dragSortOrder
(It may have been dragSortOrder DESC before).
Let me know if that works for you. If not, let me know what the sort fields were set to.
Hope that helps!
If you are able to drag sort the records then it's likely sorting by the field dragSortOrder and not createdDate.
Try this, go into: Admin > Section Editors > Testimonials > Sorting (Tab)
and changing the sort fields to: dragSortOrder
(It may have been dragSortOrder DESC before).
Let me know if that works for you. If not, let me know what the sort fields were set to.
Hope that helps!
Dave Edis - Senior Developer
interactivetools.com
interactivetools.com
Re: [Dave] modify createdDate
By Shore - March 18, 2009
Hi Dave,
Thanks for getting back.
For some reason, it kind of works now, not sure what happened.
Last night, when I was adding new Testimonials, when I hit Save it would push it down to the bottom of the list, whereas I wanted it at top of list. And, they were all in order of createdDate. So I thought I had to either delete them all and start from the oldest testimonial first, or go into the mysql and reverse the createdDate fields so that they would be in proper chronological order.
Anyhow, it seems to be working now. Maybe it was just too late to get it to work right!
Thanks again, will let you know if something goes wrong.
Thanks for getting back.
For some reason, it kind of works now, not sure what happened.
Last night, when I was adding new Testimonials, when I hit Save it would push it down to the bottom of the list, whereas I wanted it at top of list. And, they were all in order of createdDate. So I thought I had to either delete them all and start from the oldest testimonial first, or go into the mysql and reverse the createdDate fields so that they would be in proper chronological order.
Anyhow, it seems to be working now. Maybe it was just too late to get it to work right!
Thanks again, will let you know if something goes wrong.
Re: [ShoreWebmaster] modify createdDate
By Dave - March 18, 2009
Ok, sounds good. Let me know if it comes up again and we can take a closer look.
Dave Edis - Senior Developer
interactivetools.com
interactivetools.com