[TYPO3-english] nested fe_groups in a tree view
Ralf-Rene Schröder
ralf.rene at online.de
Sat May 5 20:25:10 CEST 2012
Am 05.05.2012 11:57, schrieb Georg Ringer:
> so create an extension and add the code to the ext_tables.php of that one
i have done so (i used for testing an other extension witch extends news
and is definetly loaded AFTER news ... you know which extension i mean)
...but no success (news crashes) ... my ext_tables.php is:
<?php
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
$GLOBALS['TCA']['tx_news_domain_model_news']['columns']['fe_group']['config']['renderMode']
= 'tree';
$GLOBALS['TCA']['tx_news_domain_model_news']['columns']['fe_group']['config']['treeConfig']
= array(
'parentField' => 'subgroup',
'appearance' => array(
'expandAll' => TRUE,
'showHeader' => TRUE,
'maxLevels' => '10'
),
);
?>
--
image[FORMAT] - Ralf-René Schröder
http://image-format.eu ... Wir geben Ihrem Image das richtige Format
http://if-20.com ... YAML templates for TYPO3
More information about the TYPO3-english
mailing list