Project

General

Profile

Actions

Feature #18265

closed

Add post processing hooks for Frontend Editing

Added by Jeff Segars about 16 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Communication
Target version:
-
Start date:
2008-02-21
Due date:
% Done:

0%

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

Description

In bug #16526, index_ts.php was rearranged to fix some frontend editing bugs. A side effect of this fix is that $TSFE->determineID() is no longer called after the frontend editing code runs.

While this was by no means documented or intended behavior, calling determineID() after frontend editing allowed content elements to be moved in TemplaVoila using earlier TYPO3 versions. TemplaVoila stores its content elements and their order in an XML structure within the page record so this page record must be updated after a content element is moved or hidden. If the record is not updated, the change will not appear until the entire page is refreshed. Among other things, the call to determineID() fetches a fresh copy of the page record.

The attached patch adds two hooks within frontend editing after any data changes are complete. It's up to third party extension (such as TemplaVoila and others) to implement these hooks and make sure they have fresh data but this at least opens up the possibility that they can work.

(issue imported from #M7607)


Files

20080220_feedit_hook.diff (1.42 KB) 20080220_feedit_hook.diff Administrator Admin, 2008-02-21 00:21
T3X_test_tvfeedit-0_0_0-z-200802201652.t3x (2.59 KB) T3X_test_tvfeedit-0_0_0-z-200802201652.t3x Administrator Admin, 2008-02-21 00:22

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #16526: Moving content elements in frontent editing mode causes crashClosedThorsten Kahler2006-09-06

Actions
Related to TYPO3 Core - Bug #17978: Problem with cms\tslib\index_ts.phpClosedJeff Segars2008-01-11

Actions
Actions #1

Updated by Jeff Segars about 16 years ago

Also attached a test extension that calls the determineID() function. Moving and hiding elements in TemplaVoila via frontend editing should work now.

Actions #2

Updated by Jeff Segars about 16 years ago

Committed to 4.2.

Actions

Also available in: Atom PDF