[TYPO3-english] Typolink hook

Gorosito Gonzalo xgonzalo at gmail.com
Wed Oct 24 21:58:28 CEST 2012


Actually I did like this:

lib.parseFunc.tags {
    link < lib.parseFunc.tags.link
    link = PHP_SCRIPT
    link {
        stripNL = 0
        file = fileadmin/scripts/link.php
    }
}

lib.parseFunc_RTE.tags.link < lib.parseFunc.tags.link
tt_content.html.parseFunc < lib.parseFunc_RTE

So in the file link.php I have the tsobj class with the typolink
properties and I can override anything I want!! :)


#######################################
#  Gonzalo Gorosito
#  Programador && sysadmin
#
#  http://www.tutorialesdebian.com - Tutoriales para debianeros,
scripts, info, notícias y mucho mas.
#  http://www.ggorosito.com.ar - Website personal
#######################################


On Mon, Oct 22, 2012 at 7:03 AM, Dmitry Dulepov
<dmitry.dulepov at gmail.com> wrote:
> Hi!
>
>
> Gorosito Gonzalo wrote:
>>
>> I want to add more logic to resolve typolinks. Basically I have all
>> the website structure with mountpoints and I want to validate a few
>> things before resolving the typolink final URL. Does anybody know a
>> way to intercept every call to class.tslib_content.php->typolink()  ??
>
>
> XCLASS.
>
> --
> Dmitry Dulepov
>
> Simplicity will save the world.
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list