Provides a basic TYPO3 calendar implementation, which can be combined with foreign data
  • PHP 90.8%
  • HTML 8.1%
  • Nix 1.1%
Find a file
2025-10-14 08:28:02 +02:00
.github/workflows TYPO3 v13 (#12) 2025-10-14 08:28:02 +02:00
Classes TYPO3 v12 (#11) 2024-09-17 15:00:31 +02:00
Configuration calendar logic 2020-10-27 13:32:50 +01:00
Documentation TYPO3 v13 (#12) 2025-10-14 08:28:02 +02:00
Resources/Private Add target 2020-11-30 13:07:35 +01:00
Tests TYPO3 v13 (#12) 2025-10-14 08:28:02 +02:00
.gitattributes TYPO3 v12 (#11) 2024-09-17 15:00:31 +02:00
.gitignore calendar logic 2020-10-27 13:32:50 +01:00
.php-cs-fixer.dist.php TYPO3 v12 (#11) 2024-09-17 15:00:31 +02:00
composer.json TYPO3 v13 (#12) 2025-10-14 08:28:02 +02:00
ext_emconf.php TYPO3 v13 (#12) 2025-10-14 08:28:02 +02:00
LICENSE Initial commit 2020-10-20 10:26:05 +02:00
phpstan.neon TYPO3 v12 (#11) 2024-09-17 15:00:31 +02:00
phpunit.xml.dist TYPO3 v12 (#11) 2024-09-17 15:00:31 +02:00
README.rst Add TYPO3 v11 and PHP 8.x compatibility (#6) 2023-01-04 09:48:08 +01:00
shell.nix TYPO3 v13 (#12) 2025-10-14 08:28:02 +02:00

TYPO3 Extension: calendar
=========================

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`.