[TYPO3-german] per Typoscript links innerhalb einer Content Spalte gezielt ansprechen

Can Kat canxyxy at hotmail.com
Fri Oct 18 14:05:34 CEST 2013


hallo bernd, danke schonmal für deine antwort.
ich bin noch relativ frisch mit typo deswegen nicht wundern wenn mein code gar keinen Sinn ergibt - habs nämlich noch nicht verstanden! 



lib.parseFunc_RTE.tags.link {
  typolink.ATagParams = style="ColPos 2"
  if {
    equals.field = colPos 
    value = 2
    }
  }

Hab ich mir jetzt einfach mal zusammengeschustert, funktioniert auch für ColPos2, leider fliegen bei ColPos 0,1,3 alle Links einfach raus,
dachte ich so muss es dann aber gehen:


lib.parseFunc_RTE.tags.link {
  10.typolink.ATagParams = style="spalte0"
  10.if {
    equals.field = colPos 
    value = 0
    }
  
  20.typolink.ATagParams = style="spalte1"
  20.if {
    equals.field = colPos 
    value = 1
    }
  
  30.typolink.ATagParams = style="spalte3"
  30.if {
    equals.field = colPos 
    value = 2
    }
    
  40.typolink.ATagParams = style="spalte4"
  40.if {
    equals.field = colPos 
    value = 3
    }
    
  }



Leider auch nicht. Was mache ich falsch ? 
Gruß Can


More information about the TYPO3-german mailing list