Project

General

Profile

Actions

Feature #25061

closed

add option to select recursively in tcaTree

Added by Steffen Ritter about 13 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2011-02-16
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

in some cases you might need or want to select a whole subtree - this is now possible.

(issue imported from #M17620)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #29474: TCA tree check in cascadeClosed2011-09-04

Actions
Actions #1

Updated by Georg Ringer about 13 years ago

  • Target version deleted (0)
  • TYPO3 Version set to 4.6

any progress?

Actions #2

Updated by Mr. Hudson almost 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

Actions #3

Updated by Steffen Ritter over 12 years ago

  • Target version set to 4.7.0-alpha3
Actions #4

Updated by Steffen Ritter about 12 years ago

  • Target version changed from 4.7.0-alpha3 to 4.7.0-beta1
Actions #5

Updated by Gerrit Code Review about 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

Actions #6

Updated by Stefan Neufeind about 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']);

Actions #7

Updated by Steffen Ritter about 12 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Frans Saris almost 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

Actions #9

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF