I really like PDCalendar. Thanks for the great Package.
One suggestion I have is to add an option to the datatype like "Multi-day Event" (true/false) because it's possible that someonce could have a conference (like CodeGarden) which spans several days, but is not actually recurring separately on several days. This would allow the calendar to render the event differently, and when I display the event details, I could differentiate between an event which is occuring, for instance, from 7/20 thru 7/22 vs. on 7/20, on 7/21 and on 7/22 (as a repeated event).
Well, I was able to achieve thesomething similar by adding a separate property to my 'Event' doctype. Here is some XSLT I use to display the dates on the Event detail page.
I like the idea and I allready been thinking on how to implement this. At the moment I think the EndDate is not implemented as is should be. The EndDate should reflect the actual EndDate of a single event. Right now it reflects the Enddate of the series of events. In a future release I will change this and add a third date (FinalDate or something) which reflects the date after which the event never occurs anymore. The current EndDate will then reflect the date a single event ends.
I love the way how you solved it though :) Glad you figured out which values the pdrec stands for ;)
Suggestion for Enhancement - Multi-day events boolean
I really like PDCalendar. Thanks for the great Package.
One suggestion I have is to add an option to the datatype like "Multi-day Event" (true/false) because it's possible that someonce could have a conference (like CodeGarden) which spans several days, but is not actually recurring separately on several days. This would allow the calendar to render the event differently, and when I display the event details, I could differentiate between an event which is occuring, for instance, from 7/20 thru 7/22 vs. on 7/20, on 7/21 and on 7/22 (as a repeated event).
Thanks for the consideration!
~Heather
Well, I was able to achieve thesomething similar by adding a separate property to my 'Event' doctype. Here is some XSLT I use to display the dates on the Event detail page.
I hope this can help someone out!
~Heather
Hi Heather,
I like the idea and I allready been thinking on how to implement this. At the moment I think the EndDate is not implemented as is should be. The EndDate should reflect the actual EndDate of a single event. Right now it reflects the Enddate of the series of events. In a future release I will change this and add a third date (FinalDate or something) which reflects the date after which the event never occurs anymore. The current EndDate will then reflect the date a single event ends.
I love the way how you solved it though :) Glad you figured out which values the pdrec stands for ;)
Peter
Sounds great, Peter, because then you could possibly have multi-day recurring events (like if you had a monthly weekend workshop, for instance.)
Glad you figured out which values the pdrec stands for ;)Gotta love "xsl:copy" ;-)
~Heather
is working on a reply...