[Typo3-shop] Problem extending tt_products
Simon Tuck
e-mailNO at SPAMeyejet.com
Thu Jan 26 16:05:41 CET 2006
>
> update to the latest versions of these extensions.
>
> Try to do the same with tt_address and check if this works with the
> tt_address table.
Hi Franz,
Ok, I've updated all of the above and also added a field to tt_address.
my extension now does:
t3lib_div::loadTCA('tt_products');
t3lib_div::loadTCA('tt_address');
tx_table_db::setTCAFieldArray('tt_products');
tx_table_db::setTCAFieldArray('tt_address');
$content= t3lib_div::view_array(array(
'TCA-products' => $GLOBALS['TCA']['tt_products'],
'TCA-fe_users' => $GLOBALS['TCA']['fe_users'],
'TCA-tt_address' => $GLOBALS['TCA']['tt_address'],
));
In the frontend now for tt_products my additional field is not present, for tt_address it is present in
$GLOBALS['TCA']['tt_address']['feInterface'] but not in $GLOBALS['TCA']['tt_address']['columns'].
On the other hand if I add the line tslib_fe::includeTCA(); my additional fields are fully included for tt_products and
tt_address.
Hope that helps...
Cheers
Simon
More information about the TYPO3-project-tt-products
mailing list