[Typo3] Flexible Content and New Content wizard

Jan Wulff messages at janwulff.de
Tue Mar 15 00:20:21 CET 2005


> is there now solution or workaround to list the flexible content element 
> with preview in the list of new content wizard?

Hi Burkhard,

you have to extend the db_new_content_el.php by yourself. Create your own
extension, add a file named ux_db_new_content_el.php and for example add
this to your ext_localconf.php (user_extension is the name of your
extension):
$TYPO3_CONF_VARS['BE']['XCLASS']['ext/templavoila/mod1/db_new_content_el.php']
= t3lib_extMgm::extPath('user_extension').'ux_db_new_content_el.php';

Then extend the tx_templavoila_dbnewcontentel class by a class named
ux_tx_templavoila_dbnewcontentel and copy the wizardArray function to this
new class. You can then easily set your own elements in the wizard. Use the
existing values as templates.

Regards
Jan

P.S.: You can also extend the locallang files by using
$TYPO3_CONF_VARS['BE']['XLLfile'].



More information about the TYPO3-english mailing list