[TYPO3-shop] tt_products localisation with sys_language_uid

Franz Holzinger franz at ttproducts.de
Tue Sep 10 17:33:55 CEST 2013


Hello

Le 05. 09. 13 16:35, Sinsia a écrit :
> I'm using tt_products 2.7.5 and Typo3 4.7.14. I extended tt_products with:
>
> sys_language_uid int(11) DEFAULT '0' NOT NULL,
> l18n_parent int(11) DEFAULT '0' NOT NULL,
> l18n_diffsource mediumblob NOT NULL,
>
> And also added in TCA
>
> $TCA['tt_products']['ctrl']['languageField'] = 'sys_language_uid';
> $TCA['tt_products']['ctrl']['transOrigPointerField'] = 'l18n_parent';
> $TCA['tt_products']['ctrl']['transOrigDiffSourceField'] ='l18n_diffsource';
>
> $TCA['tt_products']['columns']['itemnumber']['l10n_mode'] = 'exclude';
>
> In BE there is localisation now, but how do I do that for FE?
> Is there any configuration, or did somebody did that?

You must make the extended $TCA for the tt_products table available to 
the FE.
Add this line into your ext_localconf.php.


$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['tt_products']['extendingTCA'][] 
= '<your-extension-key>';

And you must deactivate the language table of tt_products.

plugin.tt_products {

   conf.tt_products.ALL {
     language.type = noTranslation
     language.table >
   }

}

- Franz




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