Last: thread:44
Edited: 19 Oct 2009 14:10 by: pieterh
Comments: 10
Next: thread:222
Edited: 04 Jan 2010 14:40 by: pieterh
Comments: 0

James KanjoJames Kanjo wrote on 10 Sep 2009 17:26

As some of you may know, Phil ChettPhil Chett initiated the Event Calendar project.

Aim: To create a fully functional web-application, completely powered by Wikidot.

At first, I helped build essentially the same calendar but with a completely different framework. It looked like this:

 [[include inc:month

The code is really easy to understand. The only thing to note is that the spelling of phrases is case sensitive. Also, the first= variable specifies what is the first day of the month (this can't be calculated automatically).

After that, we started using multiple mini-calendars together to create a year-long one. I then saw the opportunity to create another mini-calendar dedicated to this purpose:

 [[include inc:year

The calendar returns the remainder of the year from the month you specified (in this case, from August to December).

Since this web-calendar will be “competing” with embedded web-calendars, we needed to expand the mini-calendar to a full-sized calendar. Over the past 24 hours, I've done that:


If you hover over the blue links, you get a pop-up giving you the option to create an event for that day. If your browser doesn't support pop-ups (*cough* IE6 *cough*), don't worry, you can still click on the links to do that. Also notice that there are multiple events on the same day (see the 10th of August, which has 3).


Hovering over individual events gives a short (%%short%%) preview of the content on the event's page. Clicking on the event to view it allows you to see the description in full, as well as any responses to the event.

Which reminds me! In the meantime of all of this, Helmuti-pdorf does not match any existing user name and Phil were working together on a method of “signing up” to events. Thank goodness for the timely moment of the new ListPages functions, as these were necessary for completing the project. Anyway, you can respond to events to say “yay” or “nay”, or anything else you want to say. Here's what an event page looks like:


Pages to visit:

That's the update! Sorry it took so long to post the progress over here, but I think this is probably the place where all updates should happen from now on.

~ James

Start a new sub-thread

Comments: 42

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License