Project

General

Profile

Actions

Feature #23085

closed

Save and view only working with content and pages

Added by Ingo Schmitt almost 14 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2010-07-03
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

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

saveAndView.patch (4.76 KB) saveAndView.patch Administrator Admin, 2010-07-03 12:43
saveAndView_2.patch (4.77 KB) saveAndView_2.patch Administrator Admin, 2010-07-04 12:36

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #20194: Usability: Remove "Save and View" when creating records in sysfoldersClosed2009-03-16

Actions
Related to TYPO3 Core - Feature #49972: Configurable "Save and View"-Button for StorageFolder/TablesClosedTim Lochmüller2013-07-12

Actions
Actions

Also available in: Atom PDF