[Typo3] different wraps around internal and external links
Christian Stuedemann
typo3 at christian-stuedemann.de
Wed Oct 12 22:19:13 CEST 2005
Dear list,
I've found a simple workaround in a TS template:
lib.parseFunc {
makelinks.http.wrap = [wrap for external link]
tags {
extlink < .link
extlink.wrap = [wrap for external link]
}
}
This doesn't solve the problem in a completely automatic way, but it
helps a lot: Simply use <extlink http://www.foo.bar>Some Link
Text</extlink> instead of <link...> to generate an external link and it
will use the correct wrap. This isn't that comfortable like using <link>
for both cases, but it's a useable workaround.
Best regards,
Christian
Am Don, 2005-09-29 um 20.40 schrieb Christian Stuedemann:
> Dear list,
>
> how can I define different wraps for internal and external links?
> I want to prefix external links by an image or s'thing similar,
> regardless of the way the external link is written:
> http://www.foo.bar/ or
> <link http://www.foo.bar/>Foo Bar Homepage</link>
>
> Best regards,
> Christian
>
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list