[TYPO3-core] RFC #12167: Feature(tte): Enhance report registration API to provide custom icons for reports
Francois Suter
fsu-lists at cobweb.ch
Fri Oct 9 15:52:12 CEST 2009
This is an SVN patch request.
Type: Feature enhancement
Bugtracker references:
http://bugs.typo3.org/view.php?id=12167
Branches:
Trunk
Problem:
It would be nice if the reports registration API provided a way for
report developers to provide a custom icon for their report, to be
displayed in the Reports overview screen.
Solution:
Provide such API by adding an "icon" property when registering a report.
Mind the notes below, I'm not sure my way of getting the icon is the
best there is.
Notes:
1) If no icon is provided, the attached patch uses the current icon as
default.
2) Getting a relative file name is never a simple business in TYPO3,
unless I never noticed some utility method for that. To keep things
simple I worked on the assumption that an icon would always be provided
via an extension, so it was ok to act only on a path starting with
"EXT:" and not any other path.
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rfc12167.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20091009/2b9e4249/attachment.txt
More information about the TYPO3-team-core
mailing list