Issue Feature Closed

#16981Filelinks content element: FormatSize should be configurable via TypoScript

Christian Buelter 02/13/07, 13:34 updated 10/02/18, 12:39

Description

In

typo3\sysext\css_styled_content\pi1\class.tx_cssstyledcontent_pi1.php

line 359, the call to formatSize does not send any further parameters, so falls back to (imo not so nice) defaults:

‘.t3lib_div::formatSize($fileD[‘filesize’]).’

It would be nice if that could be configured via TypoScript.

Workaround to make the Output look nicer:

‘.t3lib_div::formatSize($fileD[‘filesize’],’ Bytes| KB| MB| GB’).’

(issue imported from #M4979)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.