[TYPO3] external link in menu, typoscript and typolink.

Dmitry Dulepov [typo3] dmitry at typo3.org
Thu Jun 26 12:34:37 CEST 2008


Hi!

Andrew Plank wrote:
>         3.typolink.ATagBeforeWrap=1
>         3.stdWrap.htmlSpecialChars = 1
>         3.typolink.parameter.dataWrap = http://{field:url}
>     }

...

> Which almost works... In the output, the link that points to the 
> subdomain is correct, however, this link is wrapped in another link, so 
> I end up with this:
> 
> <a href="subdomain/"><a href="http://subdomain.example.com" 
> target="_top">subdomain</a></a>
> 
> Which is obviously not valid HTML. How can I modify the above TS so that 
> the correct link isn't wrapped like that? Also, is it possible to 
> configure it so that target="_top" is removed?

3.typolink.returnLast = url

TSRef is your friend :D

-- 
Dmitry Dulepov
http://typo3bloke.net/


More information about the TYPO3-english mailing list