Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Add missing itemGroups property to category type #910

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ foreign\_table
:Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']
:type: string (table name)
:Scope: Proc. / Display
:RenderType: all

The item-array will be filled with records from the table defined here.
The table must have a TCA definition.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ foreign_table_prefix
:Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']
:type: string or LLL reference
:Scope: Display
:RenderType: all

Label prefix to the title of the records from the foreign-table.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ Special properties

brotkrueml marked this conversation as resolved.
Show resolved Hide resolved
Default
ExclusiveKeys
Relationship
TreeConfig
ForeignTable
ForeignTablePrefix
ForeignTableWhere
ItemGroups
Mm
Relationship
TreeConfig


Common properties
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.. include:: /Includes.rst.txt
.. _columns-category-properties-item-groups:

==========
itemGroups
==========

.. confval:: itemGroups (type => category)

:Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']
:type: array
:Scope: Display / Proc.
:RenderType: all

Contains an array of key-value pairs. The key contains the id of the item
group, the value contains the label of the item group or its language
reference.

Only groups containing items will be displayed. In the select field first all
items with no group defined are listed then the item groups in the order of
their definition, each group with the corresponding items.

See also :ref:`property itemGroups of select field
<columns-select-properties-item-groups>`.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
itemGroups
==========

.. confval:: itemGroups
.. confval:: itemGroups (type => select)

:Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']
:type: array
Expand Down
Loading