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

Forums / Developing with Sitefinity / Reoccurring Events

Reoccurring Events

2 posts, 0 answered
  1. Duncan Evans
    Duncan Evans avatar
    122 posts
    Registered:
    07 Jul 2009
    15 Dec 2009
    Link to this post
    I have some events that reoccur each week, and others yearly and other quarterly.

    Is there some way to either modify the events module or perhaps it is there and i am not seeing it, where i can add a reoccurring event so that i do not have to go in each month or week to add it?

    Duncan
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    18 Dec 2009
    Link to this post
    Hello Duncan Evans,

    We do not support recurring events. This feature will be available from Sitefinity 4.0 - for Events. For 3.x you can implement some custom logic that will do this. You can create a new tag, category, metakey or some other identifier that will be used to get all recurring items ( say each month from 1 -5 this items should be visible).
    Then you need to get all events that are tagged and check the DateTime.Now. If a given event is expired and today is the 1st of a month you need to use ContentManager to get the content. Then change Event_Start and Event_End dates metakeys using SetMetaData method where the value parameter is DateTime.Now.AddDays(5);

    All the best,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered