[TYPO3-shop] [Typo3-shop] Problem extending tt_products
Franz Holzinger
franz at fholzinger.com
Wed May 17 23:32:14 CEST 2006
Hello K. Zugberg,
> Which ext_localconf.php is meant here? The file of
> fh_library or the file of the extension extending tt_products?
You have to put this into your own extension. Then TYPO3 will read this
and the hook shall work.
> And can the code shown below be used as is or does it have to be modified?
>
Use the lines as below. But you must have set your own TCA in your
extension. You can have used the Extension Kickstarter to create these
files extending the tt_products table.
> I tried integrating it already but the additional fields do not show in
> the Backend module.
>
However you still have to use either XCLASS or better some other hooks
you can find in the code so that the markers for your new fields will be
replaced by the current data row.
>
>>
>> You have to install fh_library 0.0.8.
>> Set the hook in ext_localconf.php
>>
>> if (!defined ('TT_PRODUCTS_EXTkey')) {
>> define('TT_PRODUCTS_EXTkey','tt_products');
>> }
>> // Hooks for tt_products TCA
>> $TYPO3_CONF_VARS['EXTCONF'][TT_PRODUCTS_EXTkey]['extendingTCA'][] =
>> $_EXTKEY;
>>
Greets,
Franz
More information about the TYPO3-project-tt-products
mailing list