Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
modify createdDate

 

 


Shore
User

Mar 17, 2009, 9:36 PM

Post #1 of 4 (821 views)
Shortcut
modify createdDate Can't Post

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


Dave
Staff / Moderator


Mar 18, 2009, 11:14 AM

Post #2 of 4 (808 views)
Shortcut
Re: [ShoreWebmaster] modify createdDate [In reply to] Can't Post

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!

Dave Edis - Senior Developer
interactivetools.com
 


Shore
User

Mar 18, 2009, 12:29 PM

Post #3 of 4 (800 views)
Shortcut
Re: [Dave] modify createdDate [In reply to] Can't Post

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.


Dave
Staff / Moderator


Mar 18, 2009, 6:55 PM

Post #4 of 4 (783 views)
Shortcut
Re: [ShoreWebmaster] modify createdDate [In reply to] Can't Post

Ok, sounds good. Let me know if it comes up again and we can take a closer look.

Dave Edis - Senior Developer
interactivetools.com