werkraummedia / calendar
API for extensions to create calendar
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:typo3-cms-extension
Requires
- php: ~8.1.0 || ~8.2.0 || ~8.3.0
- typo3/cms-backend: ^12.4
- typo3/cms-core: ^12.4
- typo3/cms-extbase: ^12.4
- typo3/cms-fluid-styled-content: ^12.4
- typo3/cms-frontend: ^12.4
Requires (Dev)
- codappix/typo3-php-datasets: ^1.5
- friendsofphp/php-cs-fixer: ^3.11
- phpstan/phpstan: ^1.12
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^10.5 || ^11.3
- saschaegerer/phpstan-typo3: ^1.10
- typo3/testing-framework: ^8.2
README
Provides:
- Data (classes) for Year, Month, Week and Day.
- Controller with action to view Year, Month, Week and Day.
Each day can have foreign data created by a factory. That way extensions or TYPO3 instances can add further data to each day.
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.
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.