Task #66370

Story #46140: Add configurable linkhandler for arbitrary records

Add generic preview URL generator API

Added by Markus Klein about 4 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Link Handling, Site Handling & Routing
Target version:
Start date:
2015-04-10
Due date:
% Done:

100%

TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
hard
Sprint Focus:

Description

The preview URL is triggered with the save+view button of a record.

The preview URL is generated by the specific handler for a record.

Any extension might register a handler for this.
The fallback is the Core functionality:
  • for Content Elements the existing code takes care
  • for all other records a new record preview handler is responsible

Reading: https://stmllr.net/blog/save-and-view-button-for-records-of-typo3-extensions/


Related issues

Related to TYPO3 Core - Bug #70294: additionalGetParameters in PageTS TCEMAIN.preview function does not work with parameter array Closed 2015-10-02
Related to TYPO3 Core - Bug #75020: "Save and view" button shows root page for pages of type "Shortcut" or "Link to External URL" Closed 2016-03-11
Related to TYPO3 Core - Feature #77581: List module: Add preview button for records New 2016-08-22
Related to TYPO3 Core - Bug #78336: Avoid usage of no_cache in preview link configuration Closed 2016-10-18
Related to TYPO3 Core - Feature #81252: Make use of »TCEMAIN.preview« in all preview links New 2017-05-18
Related to TYPO3 Core - Bug #81271: Save and preview button for records fails in workspaces Resolved 2017-05-19
Related to TYPO3 Core - Feature #82993: Add custom processing API for TCEMAIN.preview New 2017-11-14

Associated revisions

Revision 4a201443 (diff)
Added by Markus Klein about 4 years ago

[FEATURE] Add flexible preview link configuration

We add new page TSconfig to allow flexible configuration of preview
links for any record.

Releases: master
Resolves: #66370
Change-Id: I5beac52f9383d17aac424694dd9b3011a1e06776
Reviewed-on: http://review.typo3.org/38639
Reviewed-by: Frans Saris <>
Reviewed-by: Georg Ringer <>
Tested-by: Georg Ringer <>
Reviewed-by: Mathias Schreiber <>
Tested-by: Mathias Schreiber <>
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>

Revision 205acd09 (diff)
Added by Marco Huber about 3 years ago

[BUGFIX] Don't redirect when you click on "save and view"

Some more page types which should be opened directly and not
redirect to the rootpage if you click on "Save and view".

Resolves: #75020
Related: #66370
Releases: master, 7.6
Change-Id: I278a917c69565e8fe1e175901df01c4cccf9ef98
Reviewed-on: https://review.typo3.org/47195
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Frank Naegler <>
Tested-by: Frank Naegler <>

Revision 9af96062 (diff)
Added by Marco Huber about 3 years ago

[BUGFIX] Don't redirect when you click on "save and view"

Some more page types which should be opened directly and not
redirect to the rootpage if you click on "Save and view".

Resolves: #75020
Related: #66370
Releases: master, 7.6
Change-Id: I278a917c69565e8fe1e175901df01c4cccf9ef98
Reviewed-on: https://review.typo3.org/47236
Reviewed-by: Frank Naegler <>
Tested-by: Frank Naegler <>

History

#1 Updated by Markus Klein about 4 years ago

  • Subject changed from Add configuration for generic preview URL generation for records to Add generic preview URL generator API
  • Description updated (diff)

#2 Updated by Markus Klein about 4 years ago

  • Description updated (diff)

#3 Updated by Gerrit Code Review about 4 years ago

  • Status changed from Accepted 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 http://review.typo3.org/38639

#4 Updated by Markus Klein about 4 years ago

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

#5 Updated by Markus Klein almost 4 years ago

  • Category changed from Backend API to Link Handling, Site Handling & Routing

#6 Updated by Christian Weiske almost 2 years ago

  • Related to Feature #81252: Make use of »TCEMAIN.preview« in all preview links added

#7 Updated by Christian Weiske almost 2 years ago

  • Related to Bug #81271: Save and preview button for records fails in workspaces added

#8 Updated by Riccardo De Contardi over 1 year ago

  • Status changed from Resolved to Closed

#9 Updated by Moritz Ahl over 1 year ago

  • Related to Feature #82993: Add custom processing API for TCEMAIN.preview added

Also available in: Atom PDF