[FEATURE] Ease previewing custom record data in workspace module 46/31146/4
authorOliver Hader <oliver@typo3.org>
Wed, 25 Jun 2014 16:04:02 +0000 (18:04 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Fri, 18 Sep 2015 17:48:48 +0000 (19:48 +0200)
commitc09a25f4548b1fbf5229dafdb6899b55d7db8796
tree4440a226ef1598f8f8c8b029254fdd8b33232f1f
parent522e41876eb24ad77197c664988cc0e81b1b2e8b
[FEATURE] Ease previewing custom record data in workspace module

Currently only pages, pages_language_overlay and tt_content have
the possibility to open a preview in the website frontend.
A hook needs to be used to open the preview for custom records
(since possibly the location of the rendering plugin and its
page needs to be resolved).

To ease that behaviour a new Page TSconfig setting is added:
options.workspaces.previewPageId

Possibilities:
* options.workspaces.previewPageId = 123
* options.workspaces.previewPageId = field:pid
* options.workspaces.previewPageId.tx_myext_table = 123
* options.workspaces.previewPageId.tx_myext_table = field:pid

Resolves: #59144
Releases: master
Change-Id: I44fffa6fffb1ccc8af79e6dea48415cdf281cb01
Reviewed-on: http://review.typo3.org/31146
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/core/Documentation/Changelog/master/Feature-59144-PageTSconfigWorkspacePreview [new file with mode: 0644]
typo3/sysext/workspaces/Classes/Service/WorkspaceService.php