Project

General

Profile

Actions

Feature #16981

closed

Filelinks content element: FormatSize should be configurable via TypoScript

Added by Christian Buelter almost 18 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Content Rendering
Target version:
-
Start date:
2007-02-13
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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:

<p>'.t3lib_div::formatSize($fileD['filesize']).'</p>

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

Workaround to make the Output look nicer:

<p>'.t3lib_div::formatSize($fileD['filesize'],' Bytes| KB| MB| GB').'</p>

(issue imported from #M4979)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Feature #18826: Enable configuration of filesize labels for CType uploadsClosedOliver Hader2008-05-23

Actions
Actions #1

Updated by Oliver Hader over 16 years ago

See feature #8487

Actions #2

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF