[TYPO3-german] interne und externe links unterschiedlich formatieren

Gerhard Rasi reasi at rasi.ch
Tue Feb 7 13:07:24 CET 2006


Andreas Gawelczyk <andreas at gawelczyk.net> wrote in 
news:mailman.1.1139310399.19139.typo3-german at lists.netfielders.de:

> 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>
> -------

hallo

also die obige version funktioniert einwandfrei, nur das mailto gleich 
wie a href behandelt wird (gleiches bild wie externer link)
wie kann ich eine dritte abfrage machen, die das mailto extra behandelt.
gruss gerhard



More information about the TYPO3-german mailing list