[TYPO3-dev] typoLink() further tuning

JoH asenau info at cybercraft.de
Wed Jul 1 16:52:33 CEST 2009


>>> typolink.parameter = self   vs.   typolink.parameter.data = TSFE:id
>>
>> What's wrong with
>> typolink.parameter = #
>> that is already linking to the current page?
>
> '#' could also be used. More essential to the idea is that it can be
> rendered with less effort (a lot of processing is not needed anymore).
> So, whether it's "self", "this" or "#", the speed improvement is the
> essence of the idea.

It's not just an idea but the current behaviour of the typolink function in
TYPO3 4.2.6:

typolink.parameter = 123#456
will link to element 456 on page 123

typolink.parameter = #456
will link to element 456 on the current page

typolink.parameter = #
will link to the current page

so nothing new to introduce since the speed improvement is already there :-)

Cheers

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
TYPO3 workshops: http://workshops.eqony.com






More information about the TYPO3-dev mailing list