TypoScript (reference)
The static template Events (t3events) contains the frontend configuration
(Configuration/ and setup.).
The backend modules are configured in
Configuration/, which ext_
registers as global TypoScript (no include needed).
Constants
| Constant | Default and meaning |
|---|---|
plugin. | EXT: |
plugin. | EXT: |
plugin. | EXT: |
plugin. | empty. Storage folder of the plugins (see Storage folder). |
plugin. | page. Behaviour if the record of a detail view
is not found, see Error handling. |
plugin. | headline,subtitle,teaser,description,keywords |
plugin. | event. |
Settings
All paths are below plugin.. See
Settings: TypoScript and plugin options for how they are combined with the plugin
options.
| Setting | Default | Meaning |
|---|---|---|
event. | 1 | Paginate event lists. |
event. | (5) | Items per page. Not set in the default TypoScript. |
event. | 1 | Show the sort form on uncached event lists. |
event. | EXT: | Image for events without image in lists. |
event., .height | 120, 120 | Image size in lists. |
event. | constant | Fields searched by the search term. |
event. | dummy image | Image for events without image in the detail view. |
event., .height | 200, 200 | Image size in the detail view. |
event., .height | 290m, 200 | Image of the event location. |
event., .height | 290m, 450 | Seating plan of a performance. |
event., .max | 500, 300 | Images in the detail view. |
event. | constant | See Error handling (copied to event.). |
performance. | date | Default order of performance lists (overridden by the plugin option, see Sorting). |
performance. | constant | Fields searched by the search term. |
performance., .max | 500, 300 | Images of the performance detail view. |
performance. | 1 | Search field in the filter form. |
debug., debug., debug. | 0 | Output the settings, the events or the demand with
f: in the event list. |
Settings without a field in the plugin form can be used to set demand
properties, e.g. offset, storage, audiences, sort and
sort (see From settings to demand).
Error handling
settings. (and the performance equivalent)
defines what happens if the record of a detail view cannot be found:
redirectTo List View - Redirect to the list action.
redirectTo Page,<uid> [,<status>] - Redirect to the page with this uid, optionally with an HTTP status, e.g.
redirect.To Page,12,301 page(default)Not Found Handler - Not implemented in 4.0; a PSR-14 listener can handle the event
handle(see PSR-14 events).Entity Not Found Error
In practice the event detail view does not use this setting in 4.0: a missing or hidden event leads to a 301 redirect to the list page (see Detail view and Known problems).
Other objects
tt_,content. t3events_ eventlist. 20 tt_content. t3events_ performancelist. 20 CASEobjects for the option Don't cache plugin contents (see Caching). The original plugin definitions are available aslib.andtx_ t3events. plugin. eventlist lib..tx_ t3events. plugin. performancelist page.include CSS. t3events Basic - Basic CSS
EXT:. Assumes the page object is namedt3events/ Resources/ Public/ Css/ t3events Basic. css page. Remove it withpage..include CSS. t3events Basic > plugin.tx_ t3events._ CSS_ DEFAULT_ STYLE - Some default styles for tables and forms.
page,Performance ICS pageEvent ICS - Page types 1481289579 and 1481289580 for iCalendar downloads. They rely on configuration that Extbase no longer evaluates and do not work in 4.0.
Template layouts (page TSconfig)
The field Template Layout lists the layouts defined in page TSconfig of the page with the plugin:
tx_t3events.templateLayouts {
2 = Short List (Schedule)
10 = LLL:EXT:my_sitepackage/Resources/Private/Language/locallang_be.xlf:layout.teaser
}
and in $GLOBALS
as a list of [label, value] pairs. The selected key is available as
{settings. in the templates.
t3events adds the layout 2 (short performance list) with its page
TSconfig. On case-sensitive file systems this file is not found in 4.0 (see
Known problems); add the definition above to your page TSconfig.
Backend modules
Both modules show the page tree. They list the records of the page selected in the tree and of its subpages. The TypoScript of the selected page applies, so the configuration can be overridden on a page with a TypoScript record.
The modules read module.:
| Path | Meaning |
|---|---|
persistence. | 99. Levels of subpages below the selected page whose records
are listed. |
persistence. | Not set. If set, the modules list the records of this folder, independent of the page selected in the tree. New events are created in this folder. |
settings.,
settings. | Maximum number of rows (not set by default). |
settings.,
settings. | Options of the filter form: genre, venue, audience,
event (empty: all records, or a list of uids) and
periods (future). The default all
hides the field in 4.0. |
settings.,
settings. | Fields searched by the search term. |
settings. | Order of the schedule list, for example date. |
view. etc. | Template paths of the modules. Default:
EXT:. |
In 4.0.0 the modules do not work in TYPO3 14 (see Known problems).