[TYPO3-mvc] sr_feuser_register, set tx_extbase_type

Tim Schoch | GSTALTIG tim.schoch at gstaltig.ch
Mon Jan 24 18:16:59 CET 2011


Hi Franz

I've added these lines to the ext_tables.php of my extension:

  // extend sr_feuser_regiser tca
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['sr_feuser_register']['extendingTCA'][] = 'extbase';
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['sr_feuser_register']['extendingTCA'][] = 'direct_mail';

along with this typoscript:
plugin.tx_srfeuserregister_pi1 {
  create.overrideValues {
    tx_extbase_type = Tx_Alphalyzer_Domain_Model_FrontendUser
    module_sys_dmail_newsletter = 1
    module_sys_dmail_html = 1
  }
}

I've cleared the cache and double checked with the TSOB.
Still the same: User is created, the other overrideValues are set, extbase and direct_mail are ignored...

Tim


More information about the TYPO3-project-typo3v4mvc mailing list