[TYPO3-dev] typolink and frameset targets
Steffen Kamper
steffen at sk-typo3.de
Wed Aug 1 23:53:08 CEST 2007
Hi Elmar,
"Elmar Hinz" <elmar07 at googlemail.com> schrieb im Newsbeitrag
news:mailman.1.1185993447.17461.typo3-dev at lists.netfielders.de...
> Hi all,
>
> 10 years ago framesets have been a widespread standard. Since then they
> neraly became extinted. (Apart from a well known CMS backend.) For the
> lib
> extension I like to document the behaviour of the typolink function. The
> sourcecode if that function is famous. I try it with some stupid question
> first.
>
> On the one hand internal and extenal targets are set somewhere in TS, I
> remember there also have been constants to set. (I never did fully
> understand, how to use them in the proper way). On the other hand the
> typolink function knows the configuration properties "target"
> and "extTarget".
>
> How does the TS default configuration of the targets get into my links?
> Do I have to set the properties "target" and "extTarget" with the defaults
> myself?
> Go the TS default's into the typolink function, without setting them?
> If they do the latter, how does it work and wich is the ultimative TS
> property the typolink function is reading?
>
> Thank you
>
> Elmar
>
if you examine the typolink-fuinction in tslib_content, then the target is
used:
1. read the conf['target']
2. analyse the kind of link (file, internal, extermnal etc.
3. if external, read conf['extTarget'] and use
4. if link is given as list of params and param target is set, use this
target (e.g. http://usrl _blank class title)
5. store target in lastTypoLinkTarget
6. if userFunc call it
i hope that makes it clearer.
vg Stzeffen
More information about the TYPO3-dev
mailing list