[TYPO3-core] RFC: Feature #7607: Add post processing hooks for Frontend Editing
Ingmar Schlecht
ingmar at typo3.org
Fri Feb 22 11:09:42 CET 2008
Hi Jeff,
This doesn't follow the principle of adding new hooks always as
interfaces, but I'm tempted to say that this just makes life simpler for
so small and detailed hooks. I would be fine if we'd only use interfaces
for the bigger things like e.g. hooks for introducing new cObjects to
tslib_content or the like.
+1 based on reading, *IF* you have tested this in action already.
cheers
Ingmar
Jeff Segars schrieb:
> This is a SVN patch request.
>
> Branches: 4.2
>
> Bugtracker Reference: http://bugs.typo3.org/view.php?id=7607
>
> Problem:
> In bug 4160, 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.
>
> Solution:
> 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.
>
> Notes:
> Whether you view this as a feature or a bugfix depends on how critical
> TV-based frontend editing is to you :) This does get the basic moving
> and hiding of content elements working again though.
>
>
> Thanks,
> Jeff
>
--
Ingmar Schlecht
TYPO3 Association Active Member
More information about the TYPO3-team-core
mailing list