kra568-vsb
-
9/12/2010 5:20:42 AM
Displaying multi-day events in your CMSCalendar
Hello Kentico staff,
first, let me thank you for a great and intuitive CMS :) Unfortunatelly i have hit a wall and i think you are the ones who could help me out, or point me somewhere where i can find a solution.
So, i need to alter your calendar so it can display events lasting more than 1 day. The first step was to add respective fields (DayFrom, DayTo) to the Booking Event document type.
Regarding rendering I was able to come up with two hypoteticall solutions:
a) In calendar transformation displaying No Event, i would check if the date of currently rendered day field is between DayFrom and DayTo and if it is, i would render the title and hyperlink to the event. So, is there a way i can get the value of currently rendered day and compare it?
b) Altering SQL Querry. But i dont know how :)
Thank you for any response, be it positive or negative.
Michal Kravčenko
|