[TYPO3] grafical headlines in tt_news how to pply htmlspecialchars?

T.M.Snyder tmsnyder at hotmail.com
Sat Aug 23 21:29:21 CEST 2008


Hi all,

I am using tt_news with grafic headline.
So far so good.

Now I want a headline like  Father & Son to be written like this and _not_ 
Father & Son
As you can see below I tried htmlspecial chars, but none of them works.
What did I do wrong?
What di I miss? Any ideas?

Thank you!

    title_stdWrap.override.cObject < styles.header.typ2
    title_stdWrap.override.cObject {
      file = GIFBUILDER
      file {
        XY = [10.w]+10, 45
        10 = TEXT
        10.text.cObject = CONTENT
        10.text.cObject {
          table = tt_news
          select {
            pidInList = 3386,3387
            andWhere.dataWrap = uid={GPvar : tx_ttnews|tt_news}
          }
          renderObj = COA
          renderObj {
            50 = TEXT
            50 {
              field = title
              text.htmlSpecialChars = 1
              htmlSpecialChars = 1
              field.htmlSpecialChars = 1
            }
          }
        }
      }
    } 




More information about the TYPO3-english mailing list