Event Calendar for GraffitiCMS
I did some brief searching for an event calendar for GraffitiCMS, but I didn't find anything that quite fit the bill. What I wanted was to to be able mark a post as an event (as in with a date) and then be able to show some information about that event in the sidebar, in calendar format.
So, after a a couple of hours, here's what I came up with and the steps to set this up
- Set up a Custom Field for posts named Event Date and make it be a DateTime type
- Edit a post (that you would consider to be an event) with an event date
- Put the DPenton.Graffiti.Chalk.dll in your bin folder
- Use $DPentonChalk.BuildCalendar() in your sidebar theme file (or wherever you want to put it).
This will build the calendar and cache those results for 10 minutes, based on the year/month that is being searched.
Let me know what you think about it!
UPDATE (6 Sep 2008): I added a "back" arrow to the calendar.
Download: DPenton.Graffiti.Chalk.zip


2008-08-31 11:37:39
Nice job Dave. This is a common request from numerous folks. I think this is a great start.
2009-09-30 11:43:25
I am having trouble getting this to work in my site, I was wondering if you had any trouble shooting tips?
I uploaded your DLL, posted the chalk command on a .view file. The calendar shows up, but no days get underlined (I have three with the Event Date custome field filled in).
Let me know what you think.
Thanks,