demo
templates
install
contact
Home Help Calendar

Calendar

Contentor has a flexible calendar built into it's structure. To place an item on the calendar, simply fill in the 'event' date on the edit screen for any page. The date can be selected by clicking on the edit icon calendar icon or typed in in almost any standard format (i.e. 'Jan. 14, 2004 4:30pm' can be understood correctly).

The date will be displayed between the section header and the section text in a format specified in the 'edit configuration' screen (see the '_date_link...'page).
If a time is specified, it will be included.
If an end date is specified with a time other than '00:00:00' then it will be included as an ending date/time (set it to '00:00:01' for all-day events. If the end date is the same as the event date, but a time is specified, only the end time wil be displayed.


Display modes

When entering the calendar page directly, the diplay shows the information as specified by the '_calendar_default' setting on the 'edit configuration' page. This entry normally takes the form of an [events] tag.

The default calendar page places month calendar icon and year calendar icon icons in the sidebar to allow switching to those views. (see calendar tips for a way to put this calendar views on any page)
For those views, dates that have events are links to a daily view, and active sections (i.e. not expired) are also links to view that section.

Specialized listings of events can be inserted on any page with the '[events]' tag

Expiring Sections

Sections on any page can be 'programmed' to display by entering 'start' and 'expire' dates/times. For example, suppose that you have a special conference 'early-bird' registration deal. You can set the section with the deal to expire when the deal is over, and the section with the regular registration information to start on the same day.
Keep in mind that these dates and times are determined by the web server's clock settings. To see what date/time the server thinks that it is, look at the date and time set on the new empty section added to the bottom of each edit mode page as it is displayed in your browser.

Expired sections are not removed from the database, they just aren't displayed on the web page. The next time that you edit that page, the expired section(s) will have the date/time area of the screen highlighted with a red background, and the 'delete' box will be checked for you. When you save the page, those sections with the 'delete' box still checked will be deleted.


Disabling the calendar

The automatic calendar can be disabled or over-ridden by creating a page called '/calendar'. Since you cannot edit an automatically-generated calendar page, you will need to enter the edit mode manually by typing in the address, such as http://yourdoamin.org/edit/calendar

If you use teh menu or a [page]/calendar[/page] link to access the calendar, your browser will attempt to load the page http://yourdomain.org/index/calendar, causing the program to attempt to load a page called '/calendar' from the database.  If a page called '/calendar' is found in the database, the automatic caendar generator is not run (you can still call it directly at: http://yourdoamin.org/calendar ). To return to using the automatic calendar, just delete all content on the page called '/caendar'.