DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
Configuration Reference¶
HowTo: Outsource the templates – use your own templates¶
If you want to modify the templates and keep these changes after an extension update, die can outsource the template folders.
Duplicate the folders
- EXT:dm_simplecalendar/Resources/Private/Layouts
- EXT:dm_simplecalendar/Resources/Private/Partials
- EXT:dm_simplecalendar/Resources/Private/Templates
into the fileadmin
- fileadmin/templates/extensions/dm_simplecalendar/Resources/Private/Layouts
- fileadmin/templates/extensions/dm_simplecalendar/Resources/Private/Partials
- fileadmin/templates/extensions/dm_simplecalendar/Resources/Private/Templates
The following TypoScript configuration tells the extension to use your new destination:
plugin.tx_dmcalendar.view {
templateRootPath = fileadmin/templates/html/extensions/dm_simplecalendar/Resources/Private/Templates/
partialRootPath = fileadmin/templates/html/extensions/dm_simplecalendar/Resources/Private/Partials/
layoutRootPath = fileadmin/templates/html/extensions/dm_simplecalendar/Resources/Private/Layouts/
}
You can set this configuration globaly or for each page, as TS constant or setup or in every each dm_simplecalendar plugin:
HowTo: Overwrite localisation via TypoScript¶
Write the following in your TypoScript Setup
plugin.tx_dmsimplecalendar._LOCAL_LANG.de {
date.cw = Kalenderwoche
calendar.month.noAppointments =
calendar.day.noAppointments = Keine Termine
tx_dmsimplecalendar_view_date_currentmonth = Aktueller Monat
}
Default included label-keys¶
Cat / Type | label-key | Default |
---|---|---|
General | ||
. | general.back |
zurück |
. | general.Back |
Zurück |
. | general.backToCalendar |
zurück zum Kalender |
. | general.edit |
bearbeiten |
. | general.delete |
löschen |
. | general.legend |
Legende |
Dates | ||
. | date.month.January |
Januar |
. | date.month.February |
Februar |
. | date.month.March |
März |
. | date.calendarWeek |
Kalenderwoche |
. | date.cw |
KW |
. | date.today |
Heute |
More | ||
. | bla.foo |
bar |
FAQ¶
Please use the typo3 forge bug tracker or send an email to <salvatore.eckel@diemedialen.de> if you have a question what should be listet here.