Issue Task Closed

#59144Ease previewing custom record data in workspace module

Oliver Hader 05/27/14, 16:45 updated 10/19/17, 21:59

Description

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).

However, to ease that behavior, it would be nice, to introduce a new Page TSconfig setting:

options.workspaces.previewPageId =
  • field:pid (to use the pid of the accordant record for previewing it)
  • 123 (to define a specific page id to be used for previewing the record)

Implementation details can be found here:
https://github.com/ohader/irre_workspaces/blob/master/Classes/Hooks/PreviewHook.php

Reviews 1