-
-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #737 - Add documenation for backend preview
- Loading branch information
1 parent
332dc04
commit 38fb2dd
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ For developers | |
Features/SpeakingUrl | ||
Bookings | ||
TypoScript | ||
PageTSConfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} |