Feature #23085
closedSave and view only working with content and pages
0%
Description
The save and view button in the backend is only working on records of type tt_content and pages. The normal behavior of the button is to save the record and to show the page where the record is saved. In some cases the records are stored in sysfolder and therefore TYPO3 is not able to display the content.
The attached patch implements a new page TSconfig setting common.table.$table.FePreviewPid where a preview PID could be set for each table. An additional hook can be used to modify the PreviewURL after the save operation for adding additional parameter to the URL.
Unittest for the hook is included, see Notes.
tt_news and commerce have implemented a working solution for the button, but this is done by modifying the _POST request in the Datamap hooks in TCEmain.
The unittest will only work, if bug #23084 is already patched to core
(issue imported from #M14983)
Files
Updated by Caspar Stuebs over 14 years ago
first patch does not work.
added corrected patch
Updated by Tim Lochmüller over 11 years ago
- Target version deleted (
0)
Add a Patch to the related issue: https://forge.typo3.org/issues/20194
Updated by Mathias Schreiber almost 10 years ago
- Description updated (diff)
- Target version set to 7.4 (Backend)
Updated by Frederic Gaus over 9 years ago
- Status changed from New to Closed
This issue can be closed because a similar feature is included in the TYPO3 Core since TYPO3 7.2.0
https://forge.typo3.org/issues/66370
This is why I close this issue. If you think this was the wrong decision, please contact us on slack or open a new bug and add a relation to this one.