Project

General

Profile

Actions

Feature #22931

closed

Add HOOKS to class.t3lib_iconworks.php for developing alternative backend-skins!

Added by Stephan Kellermayr over 14 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-06-18
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

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.0000000.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-conventions 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

(issue imported from #M14785)


Files

Actions

Also available in: Atom PDF