Project

General

Profile

Actions

Feature #90042

closed

Make all page icons customizable by doktype

Added by Mario Lubenka over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Start date:
2019-12-31
Due date:
% Done:

100%

Estimated time:
PHP Version:
7.2
Tags:
doktype, icons
Complexity:
easy
Sprint Focus:

Description

When declaring a custom doktype one can define a custom icon.
There are special page states in which case a different icon will be shown in page tree:

  • Page is hidden in navigation
  • Page is site-root
  • Page contains content from another page
  • Page contains content from another page AND is hidden in navigation

It should be possible for extension developers to provide a custom icon for each state.
If an icon was not specified it would fallback to the icon which is currently used (for pages).

'typeicon_classes' => [
    123 => "my-icon",
    '123-contentFromPid' => "my-icon-contentFromPid",
    '123-hideinmenu' => "my-icon-hideinmenu",
],

In the above example no root icon (123-root) was defined, thus it would fallback to page-root.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #101379: Fallback icons for custom page types do not workResolved2023-07-18

Actions
Actions #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 https://review.typo3.org/c/Packages/TYPO3.CMS/+/62813

Actions #2

Updated by Gerrit Code Review over 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62813

Actions #3

Updated by Gerrit Code Review about 4 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62813

Actions #4

Updated by Gerrit Code Review about 4 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62813

Actions #5

Updated by Mario Lubenka about 4 years ago

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

Updated by Benni Mack about 4 years ago

  • Status changed from Resolved to Closed
Actions #7

Updated by Nikita Hovratov 9 months ago

  • Related to Bug #101379: Fallback icons for custom page types do not work added
Actions

Also available in: Atom PDF