Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsAdding Event CodeAdding Event Code
Previous
 
Next
New Post
3/19/2013 8:15 AM
 
There should be no reason with my system at this time to edit them as I am only wanting a very simple add and list.

Is there a way to make this null or increment automatically to prevent issues in the future?

Mark Cooney
Programmer
Ely, Cambridgeshire
07767150058
CambsCreative
mark@cambscreative.co.uk

Visit Ely City Website
 
New Post
3/19/2013 8:21 AM
 
Sorry, didn't answer your second question.

Recurring events are just a single call to EventsRecurMasterSave and multiple calls to EventsSave. The challenge is the logic behind recurring events and that depends on how complex you want to make it. You can use code from the existing module (it's open source), but I don't believe there are simple calls to existing code you could make that would just do it for you.

All Events records are single events. It is EventsRecurMaster that pulls them together and makes them an editable sequence. The recurrence information stored is essentially based on RFC5445 (the iCal spec), which you would need to understand to a reasonable level to ensure correct creation of records. Note that not all RFC5445 RRULE permutations are supported by the module.

DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
3/19/2013 8:24 AM
 
Mark Cooney wrote:
There should be no reason with my system at this time to edit them as I am only wanting a very simple add and list.

Is there a way to make this null or increment automatically to prevent issues in the future?

It cannot be null, so you can increment as you like, but it must be a value that exists in the EventsRecurMaster table.


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
3/19/2013 8:31 AM
 
OK, thats for another day but if I am just to add all simple events to RecurMasterID = 1 then nothing fatal should happen?

I will write an extra sub to return a new id when my patience as returned lol

Mark Cooney
Programmer
Ely, Cambridgeshire
07767150058
CambsCreative
mark@cambscreative.co.uk

Visit Ely City Website
 
New Post
3/19/2013 8:40 AM
 
If you are using list view it should work. I can't vouch for things like search, sitemap, etc. But I suspect you don't need those.

DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsAdding Event CodeAdding Event Code


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out