[TYPO3-dev] typoLink() further tuning
Vladimir Podkovanov
admin at sitesfactory.ru
Thu Jul 2 11:15:40 CEST 2009
Christopher Torgalson wrote:
> On Wed, Jul 1, 2009 at 3:56 PM, Ingo Renner<ingo at typo3.org> wrote:
>> JoH asenau wrote:
>>
>>
>>> What's wrong with
>>> typolink.parameter = #
>> contrary to self or this, # is not selfexplainatory
>
> I'd say it's reasonably self-explanatory in the context of anchors or
> links in HTML. No objections to a synonym being made available, but #
> is pretty basic...
>
Well, at least it should be documented first ;)
from tsref:
> Now the input can be an alias or page-id. If the input is an integer
> it's a page-id, if it's two comma separated integers, it's a id/type
> pair, else it's an alias. For page-id's or aliases you can prepend a
> "#" mark with a number indication tt_content record number on the page
> to jump to! (if .section-property is present, it overrides this).
> If you insert only "#234" where "234" is the tt_content record
number, > it links to the current page-id
so it is undocumented hidden feature and devs should better rely on
TSFE:id as nobody promise them that # would links to current page :)
--
-rgds-
Vladimir
More information about the TYPO3-dev
mailing list