[TYPO3-dev] How to modify all Links before rendering?

Xavier Perseguers xavier.perseguers at typo3.org
Fri Jan 22 08:53:52 CET 2016


Hello Roman,

On 21/01/16 09:05, Roman Crescente wrote:
> First I added a hook with:
> $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['typolinkLinkHandler']['flexshadowbox']
> = ....
> 
> but the typolinkhandler and tslib_content.php only works for basic
> content elements. But I have own content elements.
> how to place the hook to modify all the links? (tool like realurl does
> the same)

Then just have a look at realurl, or ml_links (registration in
ext_localconf.php through pi43 and implemention in pi1/)

HTH

-- 
Xavier Perseguers
TYPO3 CMS Team

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org



More information about the TYPO3-dev mailing list