Extension:DPL Calendar

DPL Calendar is a set of wiki templates which implements a flexible calendar. Its charm is that the source code is in wiki syntax, so you can easily modify and adapt it to your needs.

Basically you only need the set of templates: Export them from the Demo wiki and import them into your wiki. But as these templates use some extensions you should check if you have these extensions alread installed:
 * Extension:DynamicPageList (plus 'Call' extension and 'Inputbox' extension contained in that distribution)
 * Extension:VariablesExtension
 * Extension:StringFunctions
 * Extension:ParserFunctions

Features

 * The calendar shows one month. It is easy to create a page where calendars for more than one month are shown, e.g. in a 4x3 grid a complete calendar for a year.
 * The monthly calendar contains links to the previous(or next) month.
 * Easy to do localization by yourself, there is already a Chinese version ...
 * You can handle multiple calendars in parallel. They are separated by one or more 'purposes' which you assign to each event; when calling the calendar you decide which purposes it shall show. So you can watch calendars of other users if you want, have private calendars etc.
 * You decide into which namespace you want to put your event descriptions. Several namespaces for several purposes are possible.
 * The calendar may or may not contain a link which allows the user to define new events.
 * There are multiple layouts: short/long calendar with/without separate event list. I.e. the calendar does not only show the events on the calendar but can also display a separate event list (sortable table of events)
 * The event list is completely configurable; you can show arbitrary chapters from your event definitions.
 * More: See English version and Chinese version
 * Everyone can give more ideas to the author improve the powerful calendar.

Usage

 * See http://semeb.com/dpldemo/index.php?title=Calendar

Installation
Installation

Special issue 1: Combining the use of DPL Calendar with Semantic Forms

 * DPL and SMW(Semantic MediaWiki) are the most powerful extensions for MedaiWiki and SF (Semantic Forms) makes every thing better (maybe someday we can also use Simple Forms to do the same thing).
 * If you want to combine the use of DPL Calendar with Semantic Forms, take the following steps:

Necessary extensions

 * 1) DPL Calendar
 * 2) Semantic MediaWiki
 * 3) Semantic Forms
 * 4) Extension:Variables - install this extension if you want users to be able to add events belonging to them to the calendar

Create some pages
|-   ! owner | owner:: |-      Owner:
 * Create a Calendar page (you can use the DPL Calendar code generater to create the code.)
 * You may want to let every logged-in user add their personal events to the calendar. If so, you should add the following code to the calendar. (This step requires the Variables extension.)
 * Create properties to be used for events.
 * Create a template to represent an event.
 * Note: DPL calendar uses categories to define the owner of events. The most convenient way to do this is within the event template. For example, your template can contain the following.
 * Create a form to add and edit events.
 * You may want to specify that every event, by default, belongs to the user who created that event's page. You should then have a line in your form definition that looks like the following. (This step requires the Variables extension.)

Modification
After you install all extensions above, you should edit the page Template:Create Event. Change the following code


 * to


 * Note: In the above, "Your form's name" should be changed to the name of the form used to deal with your events.

Special issue 2:Combining DPL calendar with email function

 * Refer to the steps described above and use Todo Tasks Extension to do this.