1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Old Events

Old Events

8 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    29 May 2011
    Link to this post
    I'm trying to migrate an Old (non SF) site into 4, but adding in the events, they're all sorting\showing in the widgets in the ADDED order (date entered into the CMS, not by the start date of the event)

    So I've got events from 2008 showing up first in my events list...??
  2. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    29 May 2011
    Link to this post
    Additionally it's amazingly irritating that I can't see the event dates in the backend event grid...again, just the date created
  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    30 May 2011
    Link to this post
    Hello Steve,

    Do you use the migration tool or you do this with some other tool? In the code you use have you set EventStart and EventEnd fields?
    DateCreated is set to DateTime.Now when CreateEvent method of the data provider is called. Of course DateCreated value could be changed. The property can be set after you create the item.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  4. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    30 May 2011
    Link to this post
    Nope, using the SF4 backend "Add new Event"

    I'm just manually migrating site content from an old site.

    I edited the DB directly to change the date created, but that didn't work...I think it;s sorting by DateModified...?
  5. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    30 May 2011
    Link to this post
    Hello Steve,
     
    The backend sorts the events by PublicationDate DESC. This is the sort parameter passed by the service. You can change the sort order through the configurations

    Events >> Controls >> EventsBackend >> Views >> EventsBackendList


    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    30 May 2011
    Link to this post
    Oh sorry, I don't mean the backend, I'm talking about the WIDGET...
  7. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    30 May 2011
    Link to this post
    Hi Steve,

    The public control also uses  PublicationDate DESC (Home > ControlDefinition > Views > EventsFrontendList)


    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    30 May 2011
    Link to this post
    Ok so I'll just update everything to use the StartDate, thanks
8 posts, 0 answered