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

Peter Klein peter at umloud.dk
Fri Aug 18 10:48:06 CEST 2006


Hi Tan. Try adding these parameters:

    size.bytes = 1
    size.bytes.labels = " | Kb| Mb| Gb"

-- 
Peter Klein/Umloud Untd

"Tan Le" <tanl at flirtcreative.com.au> skrev i en meddelelse 
news:mailman.3389.1155876548.24118.typo3-english at lists.netfielders.de...
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 = &nbsp;(|)
         }
}

Thanks heaps for any help

Regards,

Tan 





More information about the TYPO3-english mailing list