[TYPO3-core] RFC #14785: add feature: Add HOOKS to class.t3lib_iconworks.php for developing alternative backend-skins!
Stephan N Kellermayr
stephan.kellermayr at t3x.at
Fri Jun 18 19:25:41 CEST 2010
this is an SVN patch request.
type: feature
bugtracker references:
http://bugs.typo3.org/view.php?id=14785
branches:
trunk/current branch
problem:
at the moment there is no possibility to extend the class
't3lib_iconworks', which is very bad for redesigning the backend,
because you stuck on the implemented functions which handles the sprites
and icons.
there are so many possibilities to handle those icons, and to stay
flexible in visualization, there should also be the possibility to
implement other ways of icon-handling or extend the functionallity of
the current sprite-concept.
why this is needed?
example1: if you want to generate different names for the base-icons,
depending on different db-columns than the defaults.
example2: if you want to add (sub)classes to overlays or base-icons,
useful if you want to use a sprite-matrix!
...
solution:
because XCLASS is not a good idea at this point, please add the
following patch to t3lib_iconWorks, which provides three hooks for the
critical functions.
(patch attached: t3lib/class.t3lib_iconworks.php.0014785.diff)
notes:
i will soon release an extension, which is basically a skincreator for
t3xskin, but also gives you the possibility to create
sprites/spritematrix for own extensions, complete with tutorials,
photoshop-templates and colormanager, and automatic integration into TYPO3.
in this example you will see, how this functions could work, to give
users a fulfilling TYPO3-experience!
no worries, i will stay as close as possible at the naming-convention
which are currently used and i will NOT confuse the whole thing again.
...and yes, i will still use only ONE single overlay and use a
spritematrix instead ;-)
best regards,
Stephan N Kellermayr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: class.t3lib_iconworks.php.0014785.diff
Type: text/x-patch
Size: 10807 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100618/01c6d355/attachment.bin>
More information about the TYPO3-team-core
mailing list