.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ============= EXT: Calendar ============= :Author: Kasper Skårhøj :Created: 2002-11-01T00:32:00 :Changed by: Donald Duck :Changed: 2004-01-29T16:27:38 :Author: Kasper Skårhøj :Email: kasper@typo3.com :Info 3: :Info 4: .. _EXT-Calendar: EXT: Calendar ============= Extension Key: **tt\_calender** Copyright 2000-2002, Kasper Skårhøj, 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: 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: Introduction ------------ |img-1| .. _Configuration: Configuration ------------- .. _Files: Files: ^^^^^^ .. ### BEGIN~OF~TABLE ### .. _calendar-inc: calendar.inc """""""""""" .. container:: table-row File calendar.inc Description PHP include file, include by a PHP\_SCRIPT cObject .. _calendar-template-tmpl: calendar\_template.tmpl """"""""""""""""""""""" .. container:: table-row File calendar\_template.tmpl Description HTML template file for the design. Copy this file and redesign for your own purposes. .. ###### END~OF~TABLE ###### .. _Description: 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. .. _generated: ((generated)) """"""""""""" .. _Example: Example: ~~~~~~~~ (See static\_template 'plugin.tt\_calender' for a working configuration) .. _Static-template: Static template ^^^^^^^^^^^^^^^ plugin.tt\_calender .. _calendar-inc-properties: calendar.inc properties ^^^^^^^^^^^^^^^^^^^^^^^ .. ### BEGIN~OF~TABLE ### .. _templateFile: templateFile """""""""""" .. container:: table-row Property templateFile Data type resource Description The template-file. See example in 'media/scripts/calendar\_template.tmpl' Default .. _pid-list: pid\_list """"""""" .. container:: table-row Property pid\_list Data type string /stdWrap Description Default .. _recursive: recursive """"""""" .. container:: table-row Property recursive Data type boolean /stdWrap Description Default .. _fontFace: fontFace """""""" .. container:: table-row Property fontFace Data type string /stdWrap Description Default .. _parseFunc: parseFunc """"""""" .. container:: table-row Property parseFunc Data type ->parseFunc Description Default .. _maxAge: maxAge """""" .. container:: table-row Property maxAge Data type int Description Number of days til items disappear Default .. _displayCurrentRecord: displayCurrentRecord """""""""""""""""""" .. container:: table-row Property displayCurrentRecord Data type boolean Description If set, certain settings are manipulated in order to let the script render a single item - the $cObj->data. Default .. ###### END~OF~TABLE ###### [tsref:(script).calendar] .. _How-to-enter-calendar-content: 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' |img-2| EXT: Calendar - 2 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. :border: 0 .. :height: 265 .. :id: Grafik31 .. :name: Grafik31 .. :width: 440 .. |img-2| image:: img-2.png .. :align: left .. :border: 0 .. :height: 32 .. :id: Graphic1 .. :name: Graphic1 .. :width: 102