[TYPO3-english] HTML in _LOCAL_LANG

Jigal van Hemert jigal at xs4all.nl
Sun Jun 14 21:07:11 CEST 2009


The nicest solution is to find if there is a hook available in the code
that renders the forms to change the string in your own code.

Another solution that may be pretty future proof (but not so nice in a
technical way) might be to create an extension with an XCLASS version of
the function which renders the form.

If you put a kind of marker (###YOURMARKER### may work, depending on the
code in sr_feuser_register) in the locallang string you can replace it
yourself in your code.

This XCLASS version can call the parent (which may change with new
versions of the sr_feuser_register extension) and then create a link to
the page you want. The marker can be replaced with the link you just
built.

It's not easy, but since many extensions perform HTMLspecialchars encoding
on locallang strings there is often no other option.

Regards,

-- 
Jigal van Hemert.



More information about the TYPO3-english mailing list