EXT: Calendar

Extension Key: tt_calender

Copyright 2000-2002, Kasper Skårhøj, <kasper@typo3.com>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.com

Table of Contents

EXT: Calendar	1

Introduction	1

Configuration	1

Files:	1

Description	2

Static template	2

calendar.inc properties	2

How to enter calendar content:	2

Introduction

Configuration

Files:

File:	Description:
calendar.inc	PHP include file, include by a PHP_SCRIPT cObject
calendar_template.tmpl	HTML template file for the design. Copy this file and redesign for your own purposes.

Description

This script displays the calendar records from a page. It has special syntax for formatting the content and entering times. It's based on an HTML-template file.

Example:

(See static_template 'plugin.tt_calender' for a working configuration)

Static template

plugin.tt_calender

calendar.inc properties

Property:	Data type:	Description:	Default:
templateFile	resource	The template-file. See example in 'media/scripts/calendar_template.tmpl'	
pid_list	string /stdWrap		
recursive	boolean /stdWrap		
fontFace	string /stdWrap		
parseFunc	->parseFunc		
maxAge	int	Number of days til items disappear	
displayCurrentRecord	boolean	If set, certain settings are manipulated in order to let the script render a single item - the $cObj->data.	

[tsref:(script).calendar]

How to enter calendar content:

First of all, you need to create a pagecontent-element of the type "List of items" with the table "Calendar".

Then you should create some calendar-elements on the very same page.

Now:

Enter the date into the "Date"-field

Enter the title of the Day/Happening into the "Title"-field

In the note-field you have a few options. Try to put in this example:

20:00 The café opens

Today's special is.....

---

01:00 Closing time

..."20:00 The café opens" is shown as time and 'subtitle',

..."Today's special is....." is shown as a comment to this time

..."01:00 Closing time" is the next 'subitem'

EXT: Calendar - 2

EXT: Calendar

Kasper Skårhøj

2002-11-01T00:32:00

Donald Duck

Kasper Skårhøj