2020-10-20 10:36:00 +02:00
|
|
|
TYPO3 Extension: calendar
|
|
|
|
=========================
|
|
|
|
|
|
|
|
Provides:
|
|
|
|
|
2023-01-04 09:48:08 +01:00
|
|
|
* Data (classes) for Year, Month, Week and Day.
|
2020-10-20 10:36:00 +02:00
|
|
|
|
2023-01-04 09:48:08 +01:00
|
|
|
* Controller with action to view Year, Month, Week and Day.
|
2020-10-20 10:36:00 +02:00
|
|
|
|
|
|
|
Each day can have foreign data created by a factory.
|
|
|
|
That way extensions or TYPO3 instances can add further data to each day.
|
2023-01-04 08:42:36 +01:00
|
|
|
|
2023-01-04 09:48:08 +01:00
|
|
|
Alter Variables
|
|
|
|
---------------
|
|
|
|
|
|
|
|
The controller also has an event to alter assigned variables for each action.
|
|
|
|
|
|
|
|
Check out ``Tests/Fixtures/calendar_example/`` as an example on how to provide
|
|
|
|
necessary custom setup.
|
|
|
|
|
2023-01-04 08:42:36 +01:00
|
|
|
Configuration
|
|
|
|
-------------
|
|
|
|
|
|
|
|
Allows to configure default values for arguments if not provided in current request.
|
|
|
|
Each argument is configured below TypoScript settings namespace `arguments`, e.g.::
|
|
|
|
|
|
|
|
tx_calendar_example {
|
|
|
|
settings {
|
|
|
|
arguments {
|
|
|
|
year {
|
|
|
|
strtotime = midnight first day of -1 year
|
|
|
|
strftime = %Y
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Supported arguments are: `year`, `month`, `week` and `day`.
|