Creating a Calendar
In order to create a calendar, we must first initalize two templates. We must initalize Content Items using HTML-calendar.tpl.php and HTML-dayview.tpl.php templates.
- We will create the calendar (month view) first. Create a new menu item (or use the backend Content Folders screen).
- Select to use the HTML content type. Create a content item with the HTML-calendar.tpl.php template. This content item must have an alias of "calendar".
- Now we need to create the day view mode of the calendar. Create a new menu item (or use the backend Content Folders screen).
- Select to use the HTML content type. Create a content item with the HTML-dayview.tpl.php template. This content item must have an alias of "dayview".
- It is likely you will want to remove a menu item reference to the day view template, as this provides no functionality on it's own.
- To add events to the calendar, you must create Content Items with the Event Content Type.
- The calendar and dayview items must be published to use the calendar system in public mode.
Top of Page