Skip to content

Commit

Permalink
[FEATURE] #103211 - Introduce tree node labels
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml committed Mar 4, 2024
1 parent 38e5663 commit 205003f
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions Documentation/UserTsconfig/Options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,15 @@ pageTree.altElementBrowserMountPoints.append
pageTree.backgroundColor
~~~~~~~~~~~~~~~~~~~~~~~~

.. deprecated:: 13.1
This setting has been deprecated and will be removed in TYPO3 v14 due to its
lack of accessibility. It is being replaced with a new label system for tree
nodes.

In TYPO3 v13 the setting will be migrated to the new label system. Since the
use case is unknown, the generated label will be "Color: <value>". This
information will be displayed on all affected nodes.

.. confval:: pageTree.backgroundColor

:Data type: string
Expand Down Expand Up @@ -975,6 +984,41 @@ pageTree.excludeDoktypes
options.pageTree.excludeDoktypes = 254,1
.. index:: Page tree; Node labels
.. _useroptions-pageTree-label:

pageTree.label
~~~~~~~~~~~~~~

.. versionadded:: 13.1
This setting is the successor of :ref:`useroptions-pageTree-backgroundColor`.

.. confval:: pageTree.label.<page-id>

:Data type: list of page IDs

Labels offer customizable color markings for tree nodes and require an
associated label for accessibility.

Example:

.. code-block:: typoscript
:caption: EXT:my_extension/Configuration/user.tsconfig
options.pageTree.label.296 {
label = Campaign A
color = #ff8700
}
Display:

.. figure:: /Images/ManualScreenshots/List/optionsPageTreeLabel.png
:alt: Page with configured color and label
:class: with-shadow

Page with configured color and label


.. todo:: does this still work with site configuration?
.. index:: Page tree; Show domain names
.. _useroptions-pageTree-showDomainNameWithTitle:
Expand Down

0 comments on commit 205003f

Please sign in to comment.