[TYPO3-english] Is there any reason why "mainpalette" is used for the "fe_group" field in tt_content?

Peter Klein pmk at io.dk
Tue Apr 20 18:28:14 CEST 2010


In the TCA setup for the tt_content table, the "fe_group" field is not 
placed correctly/directly under the "Access" tab.
(It looks like it's under the Access Tab , but it really isn't, as it's 
placed using the "mainpalette" option.)

$TCA['tt_content']['ctrl']['mainpalette'] = 15;
$TCA['tt_content']['palettes']['15']['showitem'] = 'fe_group';

This makes the "fe_group" field appear as the LAST field in the BE tabs 
,which is ok as long as the Access tab is the last one. But if an extension 
adds an extra Tab, then the "fe_group" field will be placed under that Tab, 
and not the Access Tab.

It looks like some "left overs" from before Tabs was introduced, as it might 
have made sence to place the "fe_group" field at the bottom of the page..

Wouldn't it be better to move the "fe_group" directly under the Access Tab?

--
Peter Klein / Clio Online 




More information about the TYPO3-english mailing list