[TYPO3] Changing appearance of tt_news file list icons

StephenBungert stephenbungert at yahoo.de
Mon Jun 16 17:19:51 CEST 2008




Christopher Torgalson wrote:
> 
> 
> Your TS makes no sense :)
> 
> The IMG_RESOURCE ***cObject*** and the imgResource ***function*** or
> ***data type*** are not the same thing. See the TSref for more
> details, but this should work:
> 
> iconCObject.5 = IMAGE
> iconCObject.5 = {
>    file = fileadmin/templates/images/icons/pdf.png
> }
> 

I thought not :-)

I tried your code:

plugin.tt_news {
  newsFiles {
    iconCObject = IMAGE
    iconCObject = {
      file = fileadmin/templates/images/icons/mail.gif
    }
  }
}

But I still see the original typo3 icons, the file exists and in the
directory in the file property, but I still see the old icons.

If I change it to:

plugin.tt_news {
  newsFiles {
    stdWrap.wrap = <dd>Test|</dd
    iconCObject = IMAGE
    iconCObject = {
      file = fileadmin/templates/images/icons/mail.gif
    }
  }
}

I see the word test before each icon, so I know it has had an effect on the
rendering of the file links in the article. So Whyy doesn't the icon change?


-----
-- 
Stephen Bungert
-- 
View this message in context: http://www.nabble.com/Changing-appearance-of-tt_news-file-list-icons-tp17865196p17866804.html
Sent from the TYPO3 English mailing list archive at Nabble.com.



More information about the TYPO3-english mailing list