EVENTS TEMPLATES

EXAMPLE





Common markers:
These are substituted in all events displaying templates:

Markers:
DATE      - The date of the event (formatting by typoscript)
STIME     - substituted by the event's starttime (formatting defined in TS)
ETIME     - substituted by the event's endtime (formatting defined in TS)
LETIN     - substituted by the event's let in (formatting defined in TS)
TITLE     - substituted by the event's title
DESCR     - substituted by the event's description
ORDER     - The text of the order link
SOLDOUT   - The text of the "sold out" message
MONTH     - substituted by a month where events are present
PRICE     - substituted by the 'price' field of the event description
EVEN_ODD  - substituted by 'even' in even and 'odd' in odd rows fof the TEMPLATE_LIST
LISTTITLE - substituted by the title of the TEMPLATE_LIST (i.e. the url-parameter 'listtitle')

Wrapped Subparts:
TEMPLATE_LIST   - Show a list (normally a table) of events
TEMPLATE_MONTHS - Show a list of months where events are present
EVENT_ROW       - Contains the template for a single row of the TEMPLATE_LIST
EVENT[n]        - Contains the template for a single event. [n] starts from 1, ascending. See documentation for more information.
DO_ORDER        - Contains the template for the part that is shown if the event is not sold out and you may do a booking.
DO_SOLDOUT      - Contains the template for the part that is shown if the event is sold out.
PAGELINK        - Wraps it's content with a link to the event's page.
ORDERLINK       - Wraps it's content with a link to an order form.
EXISTS          - Contains the template for an existing event (inside EVENT[n])
EMPTY           - Contains the template for a non-existent event (inside EVENT[n])
CONDITION       - Special part holding an additional condition for selecting events (see examples).
MONTH_ROW       - Contains one row of the TEMPLATE_MONTHS list
LINK_TO_LIST    - Wraps the content by a link to the TEMPLATE_LIST (see also TS config 'listid')








TEMPLATE_LIST

This is the template for showing a list of events.



###STIME###
###TITLE###
###DESCR###
###ORDER###
###SOLDOUT###
###DATE###
###STIME###
###TITLE###
###DESCR###
###ORDER###
###SOLDOUT###



###MONTH###