[TYPO3-dev] dynaflex DCA
Nikolas Hagelstein
hagelstein at shr.cc
Thu Nov 23 18:25:47 CET 2006
Hi,
in former times dynaflex needed to be enabled by something like :
if (is_array($_REQUEST['edit']['tx_myext_mytable']) ||
(isset($_REQUEST['data']) ) &&
t3lib_extMgm::isLoaded('dynaflex')) {
require_once(t3lib_extMgm::extPath('dynaflex')
.'class.dynaflex.php');
$dynaflex = new dynaflex($TCA, $dca
);
$TCA = $dynaflex->getDynamicTCA();
}
Meanwhile this can be left to dynaflex itself by extending the
particular ext_localconf as follows:
$GLOBALS['T3_VAR']['ext']['dynaflex']['mytable'][] =
'EXT:dynaflex_tut/class.tx_myext_dfconfig.php:tx_dynaflextut_dfconfig';
I got serveral tables making use of dynaflex fields. Is there an "all in
one solution" or do i have keep one
class per table?
cheers,
Nikolas
More information about the TYPO3-dev
mailing list