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 #1

Updated by Caspar Stuebs almost 14 years ago

first patch does not work.

added corrected patch

Actions #2

Updated by Tim Lochmüller almost 11 years ago

  • Target version deleted (0)

Add a Patch to the related issue: https://forge.typo3.org/issues/20194

Actions #3

Updated by Mathias Schreiber over 9 years ago

  • Description updated (diff)
  • Target version set to 7.4 (Backend)
Actions #4

Updated by Frederic Gaus almost 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.

Actions

Also available in: Atom PDF