Feature #29474
closedTCA tree check in cascade
0%
Description
It would be nice to have the checks of the TCA tree being set in cascade. It means when checking a child node, a parent node get automatically checked and, respectively, when unchecking a parent node, a child node get automatically unchecked
See bellow how to test the patch.
Files
Updated by Fabien Udriot about 13 years ago
Hint for reviewing
1. apply patch
2. set TCA in typo3conf/extTables.php (cf. bellow
3. open a "page property" > tab "Resources" > field "General Record Storage Page"
4. check some child field within the tree -> parent should be checked also
///////////////////////////// // TEMP CODE IN @typo3conf/extTables.php@ /////////////////////////// t3lib_div::loadTCA('pages'); $tempConfiguration = array( 'type' => 'select', 'foreign_table' => 'pages', 'size' => 10, 'maxitems' => 5, 'renderMode' => 'tree', 'treeConfig' => array( 'expandAll' => true, 'parentField' => 'pid', 'appearance' => array( 'showHeader' => TRUE, 'allowRecursiveMode' => TRUE, ), ), ); $TCA['pages']['columns']['storage_pid']['config'] = array_merge( $TCA['pages']['columns']['storage_pid']['config'], $tempConfiguration );
Updated by Fabien Udriot about 13 years ago
- File feature_29474.diff feature_29474.diff added
Still an open question whether this behaviour should be configurable or be set a default. @todo see this question with the Usability Team
Updated by Björn Pedersen about 13 years ago
Do you want http://forge.typo3.org/issues/25061?
Updated by Fabien Udriot about 13 years ago
Thanks for the pointer. Indeed #25061 is about the same feature.
Updated by Alexander Opitz almost 10 years ago
- Status changed from New to Closed
As #25061 is resolved, I close this issue now.