Translations
Info
All page names need to be in English.
en da  de  fr  it  ja  km  nl  ru  zh

Cwd timetable

From TYPO3Wiki
Jump to: navigation, search
Extension detail information
cwd_timetable
The Timetable extension cwd_timetable helps you to provide cool stuff like course calendars
documentation state stable document state list
licence OCL
forgeproject
mailinglist
usergroups list of usergroups forDevelopers, forIntermediates
author(s) Dirk Heitzmann <typo3.dirk (at) creative-webdesign.de>
TER category fe
dependency

<< Back to Extension manuals page

[edit]


What does it do?

The Timetable extension helps you to provide cool stuff like course calendars, ...

Output is generated (as usual) by templates.

In the recent version there are also categories with own title, description and class implemented.

I know ... recently there is not so much to read here. But feel free to add some comments and help for other users.

Shortly how to configure the extension

  1. Install the extension via the extension manager.
  2. Create a folder where all timetable entries and categories are stored

A bit more lengthy: How to configure cwd_timetable

Install plugin as usual.

When you already got used to working w/ other typo3 plugins, the steps described below will seem rather common to you. The principles, according to which cwd_timetable is implemented, are likely similar to, e.g., tt_news. There, as well, you have a sysFolder where you put the (news-)entries into and another page somewhere in the page-tree, where you reference that sysfolder for those entries to be displayed.

1) Create Sysfolder for timetable entries and their categories

Create a sysfolder, give it reasonable name like timetable entries. Create new content record w/i this folder. As type choose timetable category. Give category a reasonable name that fits its purpose. Proceede like that for any category you might need. Now, the same as w/ categories, create a new content record w/i the sysfolder but this time choose for timetable entry. Give the newly created entry some content, assign it to a category. Leave location text, location link, more info text, more info link, custom content for this entry empty. Proceede w/ all the entries you might need.

2) Create Page for timetable to be displayed (w/i the page tree)

Next, choose for a page in the pagetree that you want the timetable to appear in. Create a content record. For type, choose insert plugin. In the plugin select list, choose timetable plugin. For startingpoint, choose the sysfolder, that contains the timetable categories and the belonging timetable entries. Save and close.

3) Include cwd_timetable extension templates

Now for the page we just created, go to template section. There, click on Edit whole template record. As extension templates, choose the three extension templates that are related to cwd_timetable. On the same page, in the constants or setup section, you can also do some editing. See the reference on that. Now, clear FE cache and view the page and you should see some raw content.

Now you can start fine-tuning ...

Sections for Templates

SectionUsage
###LISTVIEW###Topsection for Listview
###LISTVIEW_TABLE###Outer Frame for all other content
###LISTVIEW_FIRSTSPACE_ROW###-- Frame for FIRST row (
###LISTVIEW_FIRSTSPACE_ENTRY###--- Content for 1 Cell in first row
###LISTVIEW_DAY_ROW###-- Frame for second row (DAY)
###LISTVIEW_DAY_ENTRY###---- Content for Cell in second row
###LISTVIEW_CELL_ROW###-- Frame for ONE row with timetable entries
###LISTVIEW_TIME_CELL###---- First Cell of entry row (if timeshow is enabled)
###LISTVIEW_CELL_ENTRY###---- Content for Cell with timetable entry
###LISTVIEW_SPACER###---- Content for empty Cell


List of Markers for Templates

General

MarkerUsage
###CONTENT###Content of *_TABLE sections

Header

MarkerUsageExample
###DAY###WeekdayMonday, ...

Row

MarkerUsageExample
###ROW#### of rows since 00:00
###TIME###Timestamp15:00
###MODULO###Modulo (0/1)0
###PARITY###Parity (0/1)0

Entry

MarkerUsage
###WEEKDAY###Number of weekday (So=0,Mo=1,...)
###DURATION###Duration of entry
###TITLE###Title
###DESCRIPTION###Description
###LOCATION###Location text
###LOCATION_LINK###Link to Location
###MOREINFO###Info Text
###MOREINFO_LINK###Link to Info
###START###Starttime
###CATEGORY###UID of category
###ENDE###Endtime
###UNITSSTART###Start - # of units since 00:00
###UNITSEND###End - # of units since 00:00
###CATEGORY_TITLE###Category title
###CATEGORY_DESCRIPTION###Category description
###CATEGORY_CLASS###Category class