[TYPO3-german] interne und externe links unterschiedlich formatieren

Andreas Gawelczyk andreas at gawelczyk.net
Tue Feb 7 12:07:13 CET 2006


Gerhard Rasi schrieb:
> hallo liste
> 
> ich möcht interne und externe links unterschiedlich formatieren.
> die internen haben ein bild vor dem link die externen nach dem link
> dies klappt wunderbar (siehe unten)
> frage wie kann ich das ts erweitern um den mailto link??
> vielen dank im voraus für hilfe
> gruss gerhard
> 
> 
> 
> tt_content.text.20.parseFunc.tags.link.prepend = COA
> tt_content.text.20.parseFunc.tags.link.prepend {
>   10 = TEXT
>   10.value = <img src="fileadmin/data/bilder/link_int.gif">&nbsp;
>   10.if {
>     value = 0
>     isGreaterThan.cObject = TEXT
>     isGreaterThan.cObject.intval = 1
>     isGreaterThan.cObject.data = parameters:allParams
>   }
> }
> 
> tt_content.text.20.parseFunc.tags.link.append = COA
> tt_content.text.20.parseFunc.tags.link.append {
>   20 = TEXT
>   20.value = &nbsp;<img src="fileadmin/data/bilder/link_ext.gif">
>   20.if {
>     value = 0
>     isGreaterThan.cObject = TEXT
>     isGreaterThan.cObject.intval = 1
>     isGreaterThan.cObject.data = parameters:allParams
>     negate = 1
>   }
> }

versuchs mal damit
---------
10 = TEXT
10.wrap =<a href="|"></a>
-------



More information about the TYPO3-german mailing list