[TYPO3-shop] multilanguage feature
Gerry U
gerry at seesite.be
Fri Mar 30 15:55:57 CEST 2007
Gerry U schreef:
> Stephan Petzl schreef:
>> can anyone tell me if this is fully functional or not?
>> i want to have list, detail and basket, is this possible with
>> tt_products?
>
> I changed one line in the source of tt_products and it seems to work for
> me, categories and the product list page.
> I use 1 folder with categories and products in 2 languages.
>
> line changed:
> model/class.tx_ttproducts_product.php
> if ($cnf->bUseLanguageTable($this->tableconf)) {
> $this->table->setLanguage ($LLkey);
> line 96:
> //$this->table->setLangName($this->tableconf['language.']['table']);
> $this->table->setLangName('tt_products_language');
> // end change.
> $this->table->setTCAFieldArray($this->table->langname);
> }
>
> I didn't test it thorougly, but it seems to do the trick.
>
> Cheers,
> Gerry U.
Hi,
You can also just do it the typoscript way; without changing the source
files: (even better, don't you just love TYPO3!) :-)
plugin.tt_products.conf.tt_products_cat.ALL.language.type = table
plugin.tt_products.conf.tt_products.ALL.language.type = table
plugin.tt_products.conf.tt_products.ALL.language.table =
tt_products_language
Cheers,
Gerry.
More information about the TYPO3-project-tt-products
mailing list