Skip to content

Commit

Permalink
Fix #737 - Add documenation for backend preview
Browse files Browse the repository at this point in the history
  • Loading branch information
lochmueller committed Jan 27, 2025
1 parent 332dc04 commit 38fb2dd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/DeveloperManual/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ For developers
Features/SpeakingUrl
Bookings
TypoScript
PageTSConfig
25 changes: 25 additions & 0 deletions Documentation/DeveloperManual/PageTSConfig.rst
Original file line number Diff line number Diff line change
@@ -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
}
}
}

0 comments on commit 38fb2dd

Please sign in to comment.