diff --git a/Documentation/DeveloperManual/Index.rst b/Documentation/DeveloperManual/Index.rst index 4623679d..09d8e8ca 100644 --- a/Documentation/DeveloperManual/Index.rst +++ b/Documentation/DeveloperManual/Index.rst @@ -10,3 +10,4 @@ For developers Features/SpeakingUrl Bookings TypoScript + PageTSConfig diff --git a/Documentation/DeveloperManual/PageTSConfig.rst b/Documentation/DeveloperManual/PageTSConfig.rst new file mode 100644 index 00000000..ad044041 --- /dev/null +++ b/Documentation/DeveloperManual/PageTSConfig.rst @@ -0,0 +1,25 @@ +.. include:: /Includes.txt + +PageTSConfig +------------ + +You can enable the generation of a preview link. Please configure the regular "detail" page of the indeces and link to the page including the "extensionConfiguration" parameter. EXT:calendarize will redirect you to the next index entry (to the last, if there is no future entry). + +.. code-block:: typoscript + + TCEMAIN.preview { + tx_calendarize_domain_model_event { + # Your ID with the detail PID here + previewPageId = 22 + useDefaultLanguageRecord = 0 + fieldToParameterMap { + uid = tx_calendarize_calendar[event] + } + additionalGetParameters { + # Change this to your EXT:calendarize event + tx_calendarize_calendar.extensionConfiguration = Event + tx_calendarize_calendar.action = detail + tx_calendarize_calendar.controller = Calendar + } + } + }