[TYPO3-core] RFC: Fix #7657: Add hook to $TSFE->contentStrReplace()

Michael Stucki michael at typo3.org
Mon Feb 25 14:44:39 CET 2008


This is a SVN patch request.

Problem:
This method allows to overwrite markers in a fully generated website after
all the caching was already done. So this is very useful for small
on-the-fly replacements, for example display the fe_user name, or the time
used for page generation.

Solution:
Add a hook which will allow extensions to use this very useful feature.

Comments:
$TSFE->contentStrReplace() cannot be used if cacheHeaders are enabled.
However, this was already the case before this patch.

Bugtracker reference:
http://bugs.typo3.org/view.php?id=7657

Branches: TYPO3_4-2

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_7657_contentStrReplace.diff
Type: text/x-diff
Size: 1973 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080225/b401bbe2/attachment.diff 


More information about the TYPO3-team-core mailing list