calendar/Tests/Fixtures/calendar_example/Resources/Private/Templates/Frontend/Calendar/Year.html
Daniel Siepmann f1d9466045
Add features to build an archive (#8)
* Add context to factory
* Allow configuring default arguments if missing in request
* Add plugin name to AssignTemplateVariables event
2023-01-04 08:42:36 +01:00

20 lines
661 B
HTML

<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true">
<h2>{year.dateTimeInstance -> f:format.date(format: 'Y')}</h2>
<f:for each="{year.months}" as="month">
<f:for each="{month.weeks}" as="week">
<f:for each="{week.days}" as="day">
{day.dateTimeInstance -> f:format.date(format: 'd')}
{day.foreignData.exampleKey}
Table: {day.foreignData.context.tableName}
Title: {day.foreignData.context.databaseRow.title}
</f:for>
</f:for>
</f:for>
{customVariable}
PluginName: {pluginName}
</html>