Actions
Bug #52672
closedTCA: using renderMode = tree, the treeConfig => rootUid cant get substituted with Page TSconfig
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2013-10-10
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Having:
'config' => array( 'type' => 'select', 'size' => 10, 'foreign_table' => 'pages', 'MM' => 'tx_tcshop_product_mm', 'MM_insert_fields' => array('ident' => 'category'), 'MM_match_fields' => array('ident' => 'category'), 'maxitems' => 9999, 'minitems' => 0, 'renderMode' => 'tree', 'treeConfig' => array( 'expandAll' => 1, 'parentField' => 'pid', 'rootUid' => ??????, 'maxLevels' => 5, 'appearance' => array( 'showHeader' => TRUE, 'nonSelectableLevels' => 0', ), ), ),
The rootUid = ?????, how should we be able to substitute by TSconfig when the core (sysext/core/Classes/Tree/TableConfiguration/TreeDataProviderFactory.php) says:
$treeConfiguration = $tcaConfiguration['treeConfig']; if (isset($treeConfiguration['rootUid'])) { $dataProvider->setRootUid(intval($treeConfiguration['rootUid'])); }
Updated by Stefan Neufeind almost 11 years ago
Could it be this is meanwhile solved with #47040?
Updated by Stefan Neufeind almost 11 years ago
- Status changed from New to Resolved
Actions