-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport 12.4] [TASK] Overhaul fieldwizard and fieldcontroll (#994)
[TASK] Overhaul fieldwizard and fieldcontroll * Correct indentation, * add names for confvals releases: main, 12.4, 11.5 Co-authored-by: lina.wolf <[email protected]>
- Loading branch information
1 parent
6c7027d
commit 1fa97b3
Showing
10 changed files
with
346 additions
and
346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 41 additions & 41 deletions
82
Documentation/ColumnsConfig/CommonProperties/FieldControl/EditPopup.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,70 @@ | ||
.. include:: /Includes.rst.txt | ||
.. _tca_property_fieldControl_editPopup: | ||
.. include:: /Includes.rst.txt | ||
.. _tca_property_fieldControl_editPopup: | ||
|
||
========= | ||
editPopup | ||
========= | ||
|
||
.. confval:: editPopup | ||
.. confval:: editPopup | ||
:name: fieldControl-editPopup | ||
:Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl'] | ||
:type: array | ||
:Scope: fieldControl | ||
:Types: :ref:`group <columns-group>` | ||
|
||
:Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl'] | ||
:type: array | ||
:Scope: fieldControl | ||
:Types: :ref:`group <columns-group>` | ||
The edit popup field control shows a pencil icon to edit an element directly in a popup window. | ||
When a record is selected and the edit button is clicked, that record opens in a new window for modification. | ||
|
||
The edit popup field control shows a pencil icon to edit an element directly in a popup window. | ||
When a record is selected and the edit button is clicked, that record opens in a new window for modification. | ||
|
||
.. note:: | ||
The edit popup control is pre-configured, but disabled by default. Enable it if you need it, the button | ||
is by default shown below `element browser` and `insert clipboard`. | ||
.. note:: | ||
The edit popup control is pre-configured, but disabled by default. Enable it if you need it, the button | ||
is by default shown below `element browser` and `insert clipboard`. | ||
|
||
Options | ||
======= | ||
|
||
.. confval:: editPopup disabled | ||
|
||
:Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl']['editPopup'] | ||
:type: boolean | ||
:Scope: fieldControl -> editPopup | ||
:Default: true | ||
|
||
Disables the field control. Needs to be set to :php:`false` to enable the | ||
:guilabel:`Create new` button | ||
|
||
.. confval:: editPopup options[title] | ||
.. confval:: disabled | ||
:name: fieldControl-editPopup-disabled | ||
:Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl']['editPopup'] | ||
:type: boolean | ||
:Scope: fieldControl -> editPopup | ||
:Default: true | ||
|
||
:Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl']['editPopup'] | ||
:type: string | ||
:Scope: fieldControl -> editPopup | ||
:Values: string or LLL reference | ||
:Default: LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.edit | ||
Disables the field control. Needs to be set to :php:`false` to enable the | ||
:guilabel:`Create new` button | ||
|
||
Allows to set a different 'title' attribute to the popup icon. | ||
.. confval:: options[title] | ||
:name: fieldControl-editPopup-options-title | ||
:Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl']['editPopup'] | ||
:type: string | ||
:Scope: fieldControl -> editPopup | ||
:Values: string or LLL reference | ||
:Default: LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.edit | ||
|
||
.. confval:: editPopup options[windowOpenParameters] | ||
Allows to set a different 'title' attribute to the popup icon. | ||
|
||
:Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl']['editPopup'] | ||
:type: string | ||
:Scope: fieldControl -> editPopup | ||
:Values: string or LLL reference | ||
:Default: height=800,width=600,status=0,menubar=0,scrollbars=1 | ||
.. confval:: options[windowOpenParameters] | ||
:name: fieldControl-editPopup-options-windowOpenParameters | ||
:Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl']['editPopup'] | ||
:type: string | ||
:Scope: fieldControl -> editPopup | ||
:Values: string or LLL reference | ||
:Default: height=800,width=600,status=0,menubar=0,scrollbars=1 | ||
|
||
Allows to set a different size of the popup, defaults | ||
Allows to set a different size of the popup, defaults | ||
|
||
Examples | ||
======== | ||
|
||
Select field | ||
------------ | ||
|
||
.. include:: /Images/Rst/SelectMultiplesidebyside6.rst.txt | ||
.. include:: /Images/Rst/SelectMultiplesidebyside6.rst.txt | ||
|
||
.. include:: /CodeSnippets/SelectMultiplesidebyside6.rst.txt | ||
.. include:: /CodeSnippets/SelectMultiplesidebyside6.rst.txt | ||
|
||
Group field | ||
----------- | ||
|
||
.. include:: /Images/Rst/GroupDb1.rst.txt | ||
.. include:: /Images/Rst/GroupDb1.rst.txt | ||
|
||
.. include:: /CodeSnippets/GroupDb1.rst.txt | ||
.. include:: /CodeSnippets/GroupDb1.rst.txt |
44 changes: 22 additions & 22 deletions
44
Documentation/ColumnsConfig/CommonProperties/FieldControl/Index.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
.. include:: /Includes.rst.txt | ||
.. _tca_property_fieldControl: | ||
.. include:: /Includes.rst.txt | ||
.. _tca_property_fieldControl: | ||
|
||
============ | ||
fieldControl | ||
============ | ||
|
||
.. confval:: fieldControl | ||
.. confval:: fieldControl | ||
:name: fieldControl | ||
:Path: $GLOBALS['TCA'][$table]['columns'][$field]['config'] | ||
:type: array | ||
:Scope: Display | ||
:Types: :ref:`group <columns-group>`, | ||
:ref:`imageManipulation <columns-imageManipulation>`, | ||
:ref:`input <columns-input>`, :ref:`radio <columns-radio>` | ||
|
||
:Path: $GLOBALS['TCA'][$table]['columns'][$field]['config'] | ||
:type: array | ||
:Scope: Display | ||
:Types: :ref:`group <columns-group>`, | ||
:ref:`imageManipulation <columns-imageManipulation>`, | ||
:ref:`input <columns-input>`, :ref:`radio <columns-radio>` | ||
Show action buttons next to the element. This is used in various type's to | ||
add control buttons right next to the main element. They can open popups, | ||
switch the entire view and other things. All must provide a "button" icon | ||
to click on, see :ref:`FormEngine docs | ||
<t3coreapi:FormEngine-Rendering-NodeExpansion>` for more details. | ||
See :ref:`type=group <columns-group-properties-fieldControl>` for examples. | ||
|
||
Show action buttons next to the element. This is used in various type's to | ||
add control buttons right next to the main element. They can open popups, | ||
switch the entire view and other things. All must provide a "button" icon | ||
to click on, see :ref:`FormEngine docs | ||
<t3coreapi:FormEngine-Rendering-NodeExpansion>` for more details. | ||
See :ref:`type=group <columns-group-properties-fieldControl>` for examples. | ||
|
||
.. include:: /Images/Rst/SelectMultiplesidebyside6.rst.txt | ||
|
||
.. include:: /Images/Rst/SelectMultiplesidebyside6.rst.txt | ||
|
||
.. toctree:: | ||
AddRecord | ||
EditPopup | ||
ListModule | ||
ResetSelection | ||
.. toctree:: | ||
AddRecord | ||
EditPopup | ||
ListModule | ||
ResetSelection |
Oops, something went wrong.