[TYPO3-core] RFC #16026: Cannot hook into the marker replacement functionality for BE templates
Benjamin Mack
benni at typo3.org
Sun Oct 17 01:11:39 CEST 2010
Hey,
this is another SVN patch request.
Type: hook request
Branches: trunk
BT reference: http://bugs.typo3.org/view.php?id=16026
Description: On our way to allow extensions to do *everything*, a
postprocessing hook is needed after all markers for the template are
set, so they can be manipulated.
In the future, the version selector hook can make use of it, and even
sys_notes doesn't have to be hard-wired in the code anymore like it is
right now.
Solution: Placing a hook right before all markers are replaced in the
moduleBody template. Also, the FLASHMESSAGES marker is modified. The
current implementation just puts the FLASHMESSAGES before the content
(hard-wired), if no FLASHMESSAGES marker is set. The new variant sets
the marker ###FLASHMESSAGES### and the appropriate HTML output in the
markerArray so it still can be modified and replaced (or whatever).
All the best,
Benni.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 16026_templatehook.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101017/6da6293d/attachment.asc>
More information about the TYPO3-team-core
mailing list