[Typo3] Typoscript: getting full path (using realurl)
Christoph Moeller
moeller at network-publishing.de
Thu Feb 3 14:55:29 CET 2005
Hi guys,
Peter Klein schrieb:
>>I am trying to automatically set some links using the following typoscript
>>What I am looking for is the right typoscript syntax to say "the full
>>speaking realURL of this page, plus 'interview/'".
> Hi Rodrigo, maybe you could use something like this: (untested)
> 10 = COA
> 10 {
> 10 = TEXT
> 10.data = getenv:REQUEST_URI
> 10.wrap = <a href="|interview/">
> 20 = TEXT
> 20.value = blahblah
> 20.wrap = |</a>
> }
Not good. At least not fully. Better have a look at the typolink methods
- it's all in TSref.
Advantage: Links are generated in an API-compliant style and take care
of simulateStaticDocs and whatever may come.
Cheers,
Chris
More information about the TYPO3-english
mailing list