Your IP : 216.73.217.95


Current Path : /var/www/surf/TYPO3/vendor/mask/mask/Documentation/ChangeLog/6.0/
Upload File :
Current File : /var/www/surf/TYPO3/vendor/mask/mask/Documentation/ChangeLog/6.0/Palettes.rst

.. include:: ../../Includes.txt

==========================
Group fields with palettes
==========================

Palettes are a very old concept in TYPO3 which allow you to group fields. These
fields are shown next to each other instead of each in a new line. It is
possible to add a manual break with the linebreak instruction.

The element builder comes now with the palette and linebreak fields. You can
drag in normal fields into the palette like you would do with inline fields.
The only thing you have to enter into the palette is the key and a label.
Fields in the palette will appear next to each other, when you edit the element.

.. figure:: ../../Images/Mask6/palette-builder.png
   :class: with-border
   :alt: Palette in the mask element builder

   Palette in the mask element builder

.. figure:: ../../Images/Mask6/palette-in-element.png
   :class: with-border
   :alt: Rendered palette in element

   Rendered palette in element

Linebreaks
==========

Linebreaks can be used to add a manual newline. Use this if you want to keep the
grouping of fields, but there is not enough horizontal space left.

.. figure:: ../../Images/Mask6/linebreak-builder.png
   :class: with-border
   :alt: Linebreak in the mask element builder

   Linebreak in the mask element builder

.. figure:: ../../Images/Mask6/linebreak-in-element.png
   :class: with-border
   :alt: Rendered linebreak in element

   Rendered linebreak in element