#14927Fileicon-Path is hardcoded and not changeable for the Frontend
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)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.