[TYPO3-english] Apply a class to a tt_news item
    Lamb, Brian 
    blamb at jcvi.org
       
    Thu Oct  9 14:40:15 CEST 2008
    
    
  
Hello all, 
 
I am trying use TypoScript to apply a class to every tt_news item that
is flagged as an external URL. I tried the following TypoScript:
 
plugin.tt_news {
  getRelatedCObject = COA
  getRelatedCObject {
    10 = CASE
    10.key.field = type
    10.2 = COA
    10.2 {
      wrap = <span class="external-link-new-window"> | </span>
    }
  }
}
 
But this did do anything. Alternatively, if there is a way to apply the
class directly to the <a> tag, that would be preferable but wrapping it
in a span class is acceptable. Thoughts? 
 
Thanks, 
 
Brian Lamb
    
    
More information about the TYPO3-english
mailing list