Project

General

Profile

Actions

Bug #18299

closed

Add hook to $TSFE->contentStrReplace()

Added by Michael Stucki over 16 years ago. Updated over 14 years ago.

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

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

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.

The hook will allow extensions to add their own rewrite rules.

(issue imported from #M7657)


Files

bug_7657_contentStrReplace.diff (1.93 KB) bug_7657_contentStrReplace.diff Administrator Admin, 2008-02-25 14:39
Actions #1

Updated by Ingo Renner over 16 years ago

in case we do not have that already ... wouldn't such a method also make sense right before storing the generated page in the cache?

Actions #2

Updated by Michael Stucki over 16 years ago

@Ingo: I see no reason to replace content on cached pages. Can you give me an example?

Actions #3

Updated by Michael Stucki over 16 years ago

Fixed in revision 3338.

Actions

Also available in: Atom PDF