Feature #25061
closedadd option to select recursively in tcaTree
100%
Description
in some cases you might need or want to select a whole subtree - this is now possible.
(issue imported from #M17620)
Updated by Georg Ringer over 13 years ago
- Target version deleted (
0) - TYPO3 Version set to 4.6
any progress?
Updated by Mr. Hudson over 13 years ago
Patch set 4 of change Ic79c2cddfeb111cfc2911bf6f4dfe51c6f36a14c has been pushed to the review server.
It is available at http://review.typo3.org/958
Updated by Steffen Ritter almost 13 years ago
- Target version set to 4.7.0-alpha3
Updated by Steffen Ritter over 12 years ago
- Target version changed from 4.7.0-alpha3 to 4.7.0-beta1
Updated by Gerrit Code Review over 12 years ago
- Status changed from Accepted to Under Review
Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/958
Updated by Stefan Neufeind over 12 years ago
Thanks to Steffen Ritter for compiling a some easy lines to test with. Just add this to your extTables.php and the storage-pid-selector of a page well (for testing) become a tree with recursive select. Note: Doesn't work for saving. But the selection itself is what is to be tested. Where a normal tree worked before now that works with recursive selection.
t3lib_div::loadTCA('pages');
$GLOBALS['TCA']['pages']['columns']['storage_pid']['config']['type'] = 'select';
$GLOBALS['TCA']['pages']['columns']['storage_pid']['config']['foreign_table'] ='pages';
$GLOBALS['TCA']['pages']['columns']['storage_pid']['config']['foreign_table_where'] = ' ORDER BY sorting';
$GLOBALS['TCA']['pages']['columns']['storage_pid']['config']['renderMode'] = 'tree';
$GLOBALS['TCA']['pages']['columns']['storage_pid']['config']['treeConfig'] = array(
'parentField' => 'pid',
'appearance' => array('allowRecursiveMode' => true, 'showHeader' => true)
);
unset($TCA['pages']['columns']['storage_pid']['config']['maxitems']);
unset($TCA['pages']['columns']['storage_pid']['config']['size']);
Updated by Steffen Ritter over 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset dbc1b90b75abc6e7524e4067193df717d8879295.
Updated by Frans Saris over 11 years ago
Hi,
Just found this feature, nice one just what I needed. But looks like it isn't in the tca ref/documentation yet. How to get this in there?
Gr. Frans
Ps. Related issue can be set to resolved
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed