Project

General

Profile

Actions

Bug #14927

closed

Fileicon-Path is hardcoded and not changeable for the Frontend

Added by Arne Bippes over 18 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Content Rendering
Target version:
-
Start date:
2005-08-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The icon-directory for the filelink-property is hardcoded in the source (t3lib/gfx/fileicons/). The Backend is configurable using TBE_STYLES. Something similar is needed for the frontend.

The appended patch for class.tslib_content.php uses the TBE_STYLES code from class.t3lib_iconworks.php. It reads new TypoScript propertys:

filelink.icon.iconAutoCfg {
forceFileExtension = png // alternative file-extension to look for (default is gif)
absDir = /srv/www/typo3/fileadmin/icons/ // Absolute path to the directory with the icons
relDir = fileadmin/icons/ // Relative path to the directory with the icons
}

(issue imported from #M1378)


Files

bug_1378.diff (691 Bytes) bug_1378.diff Administrator Admin, 2007-04-26 18:08
class.tslib_content.php.diff (604 Bytes) class.tslib_content.php.diff Administrator Admin, 2007-04-28 21:05

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #15700: Wrong hardcoded path to fileicons in class.tslib_content.phpClosedKarsten Dambekalns2006-02-22

Actions
Actions

Also available in: Atom PDF