Feature #66822

Allow module menu items to use sprite icons

Added by Benni Mack over 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend API
Target version:
Start date:
2015-05-07
Due date:
% Done:

100%

PHP Version:
5.5
Tags:
Complexity:
Sprint Focus:

Description

In the course of the 7.x development, the main modules (web / file etc.)
have received a hard-coded list of fontawesome sprite icons. This way
it is not (easily) possible to override the icons and to give a custom
main module its own custom sprite icon.

A new property in the module configuration "icon" allows now to
hand in a sprite icon instead of a path to png/gif file.

At the same time the property handling for the "icon" property
inside the module menu is now simplified as a string instead
of an array with all additional information as everything is already
compiled together in the BackendModuleRepository.

All main modules shipped with the core now have proper icons
mapped inside ext_tables.php in the core.


Related issues

Related to TYPO3 Core - Bug #69291: Fix configuration for backend module icons Closed 2015-08-24

Associated revisions

Revision 4cc680ed (diff)
Added by Benni Mack over 4 years ago

[FEATURE] Allow module menu items to use sprite icons

In the course of the 7.x development, the main modules (web / file etc.)
have received a hard-coded list of fontawesome sprite icons. This way
it is not (easily) possible to override the icons and to give a custom
main module its own custom sprite icon.

A new property in the module configuration "icon" allows now to
hand in a sprite icon instead of a path to png/gif file.

At the same time the property handling for the "icon" property
inside the module menu is now simplified as a string instead
of an array with all additional information as everything is already
compiled together in the BackendModuleRepository.

All main modules shipped with the core now have proper icons
mapped inside ext_tables.php in the core.

Resolves: #66822
Releases: master
Change-Id: If1a62528d9de56034a0330c0051dfcb66e59469c
Reviewed-on: http://review.typo3.org/39316
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>

History

#1 Updated by Gerrit Code Review over 4 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39316

#2 Updated by Benni Mack over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#3 Updated by Riccardo De Contardi about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF