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

  1. Set up a Custom Field for posts named Event Date and make it be a DateTime type
  2. Edit a post (that you would consider to be an event) with an event date
  3. Put the DPenton.Graffiti.Chalk.dll in your bin folder
  4. 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


  1. Jim Martin Says:

    Nice job Dave. This is a common request from numerous folks. I think this is a great start.

  2. TJ Says:

    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.


Leave a Reply