Hallo,
ich habe es gelöst!
1. Zuerst auf Single Table Inheritance umgestellt.
2. fe_users erweitert in ext_tables.php:
t3lib_div::loadTCA('fe_users');
$addColumnArray = array(
'abcfiles' => array(
'exclude' => 0,
'label' => 'ABCFiles:',
'config' => array(
'type' => 'select',
'size' => 10,
'minitems' => 0,
'maxitems' => ,
'autoSizeMax' => 5,
'multiple' => 0,
'foreign_table' => 'tx_abcfiles_domain_model_abcfile',
'MM' => 'tx_abcfiles_tsuser_abcfile_mm',
)
),
'groups' => array(
'exclude' => 0,
'label' => 'Groups:',
'config' => array(
'type' => 'select',
'size' => 10,
'minitems' => 0,
'maxitems' => ,
'autoSizeMax' => 5,
'multiple' => 0,
'foreign_table' => 'tx_abcfiles_domain_model_tsgroup',
'MM' => 'tx_abcfiles_tsuser_tsgroup_mm',
)
),
);
t3lib_extMgm::addTCAcolumns('fe_users', $addColumnArray);
t3lib_extMgm::addToAllTCAtypes('fe_users', 'abcfiles, groups');
(3. meine datei Configuration/TCA/TSUser.php gelöscht)
4.neue Datei erstellt in Configuration/TCA/Overrides/fe_users.
ACHTUNG: ist evtl. gar nicht nötig, da ja bereits in ext_tables.php schon
geschehen!!
array(
'type' => 'tx_extbase_type',
),
'columns' => array(
'tx_extbase_type' => array(
'exclude' => 1,
'label' =>
'LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:fe_users.tx_extbase_type',
'config' => array(
'type' => 'select',
'items' => array(
array('LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:fe_users.tx_extbase_type.0',
'0'),
array('LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:fe_users.tx_extbase_type.Tx_Extbase_Domain_Model_FrontendUser',
'Tx_Extbase_Domain_Model_FrontendUser'),
array('Tx_Abcfiles_Domain_Model_TSUser', 'Tx_Abcfiles_Domain_Model_TSUser')
),
'size' => 1,
'maxitems' => 1,
'default' => '0'
)
),
'groups' => array(
'exclude' => 1,
'label' =>
'LLL:EXT:abcfiles/Resources/Private/Language/locallang_db.xlf:tx_abcfiles_domain_model_tsuser.groups',
'config' => array(
'type' => 'select',
'foreign_table' =>
'tx_abcfiles_domain_model_tsgroup',
'MM' => 'tx_abcfiles_tsuser_tsgroup_mm',
'size' => 10,
'autoSizeMax' => 30,
'maxitems' => ,
'multiple' => 0,
'wizards' => array(
'_PADDING' => 1,
'_VERTICAL' => 1,
'edit' => array(
'type' => 'popup',
'title' => 'Edit',
'script' => 'wizard_edit.php',
'icon' => 'edit2.gif',
'popup_onlyOpenIfSelected' => 1,
'JSopenParams' =>
'height=350,width=580,status=0,menubar=0,scrollbars=1',
),
'add' => Array(
'type' => 'script',
'title' => 'Create new',
'icon' => 'add.gif',
'params' => array(
'table' =>
'tx_abcfiles_domain_model_tsgroup',
'pid' =>
'###CURRENT_PID###',
'setValue' => 'prepend'
),
'script' => 'wizard_add.php',
),
),
),
),
'abcfiles' => arra