[TYPO3-core] RFC #15869: Feature: t3lib_iconWorks is less flexible in mapping Icons to record rows

Steffen Ritter info at rs-websystems.de
Thu Sep 30 17:26:04 CEST 2010


Hey list,
This is an SVN patch request.

Type: Feature

Bugtracker references:
http://bugs.typo3.org/view.php?id=15869

Branches: trunk


Problem:
If you try to map record-icons on complex records, wih probably many 
different record icons your tca may mess up.
Provide the possiblity to set up an mask, how to create 
srpite-icon-classes from type and for real individual scenario a 
userfunc processing it.

For example: adding new flags wuld result in 246 Rows in tca for icon 
mapping, basically just adding a line for "flags-ISOCODE" 246 times...

this patch reduces this to one line 'mask' => 'flags-###TYPE###'

regards
Steffen

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rfc15869.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100930/71a86ed8/attachment.asc>


More information about the TYPO3-team-core mailing list