[TYPO3-shop] multilanguage feature
Franz Holzinger
franz at fholzinger.com
Fri Apr 27 07:59:19 CEST 2007
Gerry U a écrit :
> 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.
>
Use this setup instead:
plugin.tt_products.conf.tt_products.ALL {
orderBy = title
requiredFields = uid,pid,category,price,price2,tax,inStock
language.type = table
language.table = tt_products_language
functions {
htmlentities = title, subtitle, itemnumber
}
}
- Franz
More information about the TYPO3-project-tt-products
mailing list