Task #59144

Epic #58282: Workspaces Workpackage #2

Story #58284: Bug fixes & Behaviour

Ease previewing custom record data in workspace module

Added by Oliver Hader over 5 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Workspaces
Target version:
Start date:
2014-05-27
Due date:
% Done:

100%

TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
medium
Sprint Focus:

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


Related issues

Related to TYPO3 Core - Feature #62445: Possibility to define a list of tables to use pid for generating preview link in workspace module Closed 2014-10-24

Associated revisions

Revision c09a25f4 (diff)
Added by Oliver Hader about 4 years ago

[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 <>
Tested-by: Benni Mack <>
Reviewed-by: Oliver Hader <>
Tested-by: Oliver Hader <>

History

#1 Updated by Oliver Hader over 5 years ago

  • Tracker changed from Task to Feature

#2 Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31146

#4 Updated by Oliver Hader over 5 years ago

  • Assignee set to Oliver Hader

#5 Updated by Mathias Schreiber almost 5 years ago

  • Target version set to 7.5

#6 Updated by Gerrit Code Review almost 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/31146

#7 Updated by Gerrit Code Review over 4 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/31146

#8 Updated by Oliver Hader about 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#9 Updated by Riccardo De Contardi about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF