[TYPO3-shop] [Typo3-shop] Problem extending tt_products

K. Zugberg webshopper at arcor.de
Wed May 17 21:10:48 CEST 2006


Hello Franz,

I'm having the same problem as described in this thread. I would like to 
  use the code described below, but I'm not certain where exactly it has 
to be integrated. Which ext_localconf.php is meant here? The file of 
fh_library or the file of the extension extending tt_products?
And can the code shown below be used as is or does it have to be modified?

I tried integrating it already but the additional fields do not show in 
the Backend module.

Thanks in advance

and regards

K. Zugberg
> Hello Vikram,
> 
>>>> /* mergeExtendingTCAs($ext_keys)
>>>> *
>>> if this is ok for you, I could put this function into the fh_library.
>>> Then I can put a hook into tt_products which will call this function
>>> with the values in the hook array as parameters. I think this should be
>>> the init function of pi1/class.tx_ttproducts_pi1.php
>>>
>> It's not my code. Someone posted the same in the dev list. The code was
>> taken from from Stanislas Rolland's extension 'sr_feedit'
>>
> 
> I am going to include this now into fh_library.
> 
> http://fholzinger.com/development/tt_products-2.4.4.3.tar.gz
> 
> Can you tell me if this works to your needs?
> 
> 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 TCE
> $TYPO3_CONF_VARS['EXTCONF'][TT_PRODUCTS_EXTkey]['extendingTCA'][] =
> $_EXTKEY;
> 
> 
> 
> Regards,
> 
> Franz



More information about the TYPO3-project-tt-products mailing list