Calendar functionality for integration with other extensions, see: https://daniel-siepmann.de/reuse-existing-extbase-controller.html https://www.werkraum-media.de/
Find a file
Daniel Siepmann (Codappix) b087098793
Fix broken month view if last week of December is in next year (#9)
The cause was using the wrong character in formatting the year. We now
switch from `Y` to `o` which will work based on the week instead of
date. This is necessary as we provide this year to the week, and
therefore need the year of the week, not day.

Resolves: #11388
2024-09-16 12:29:46 +02:00
.github/workflows Add TYPO3 v11 and PHP 8.x compatibility (#6) 2023-01-04 09:48:08 +01:00
Classes Fix broken month view if last week of December is in next year (#9) 2024-09-16 12:29:46 +02:00
Configuration calendar logic 2020-10-27 13:32:50 +01:00
Documentation Fix broken month view if last week of December is in next year (#9) 2024-09-16 12:29:46 +02:00
Resources/Private Add target 2020-11-30 13:07:35 +01:00
Tests Fix broken month view if last week of December is in next year (#9) 2024-09-16 12:29:46 +02:00
.gitignore calendar logic 2020-10-27 13:32:50 +01:00
composer.json Add TYPO3 v11 and PHP 8.x compatibility (#6) 2023-01-04 09:48:08 +01:00
ecs.php Replace phpcs with ecs 2021-02-23 11:41:18 +01:00
ext_emconf.php Adopt functional tests for latest TYPO3. (#10) 2024-09-16 12:25:10 +02:00
LICENSE Initial commit 2020-10-20 10:26:05 +02:00
phpunit.xml.dist Add functional tests (#7) 2023-01-04 07:12:17 +00:00
README.rst Add TYPO3 v11 and PHP 8.x compatibility (#6) 2023-01-04 09:48:08 +01: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.