[TYPO3] can the tt_news extensions shows file size in KByte ?

Tan Le tanl at flirtcreative.com.au
Fri Aug 18 06:48:58 CEST 2006


Hi all,

I am using tt_news and trying to output the file size that is attach to
the news article, at the moments its showing: filename.pdf (317000)

And I assume this is in bytes, is there a way for me to change this to:
filename.pdf (31KB)

My code: 
plugin.tt_news { 
         newsFiles {
              size = 1
              size.wrap =  (|)
         }
}

Thanks heaps for any help

Regards,

Tan 



More information about the TYPO3-english mailing list