[TYPO3-shop] Access to product category alternate language by Typoscript (for a breadcrum)
Unai
unaizp at gmail.com
Thu Feb 24 01:04:43 CET 2011
Hi All,
I have this code for a breadcrumb with product category in the default
language:
lib.bread = RECORDS
lib.bread{
dontCheckPid = 1
tables = tt_products_cat
source.data = GPvar:tt_products|cat
conf.tt_products_cat = TEXT
conf.tt_products_cat.field = title
conf.tt_products_cat.required = 1
conf.tt_products_cat.wrap = Photography / <a href="#" class="sel">|</a>
}
It works great and the result is:
Photography / Category XXX
I'm trying to run it in the alternate language but it doesn't works with
this code:
lib.bread = RECORDS
lib.bread{
dontCheckPid = 0
tables = tt_products_cat_language
source.field=cat_uid
source.data = GPvar:tt_products|cat
conf.tt_products_cat_language = TEXT
conf.tt_products_cat_language.field = title
conf.tt_products_cat_language.required = 1
conf.tt_products_cat_language.wrap = Photography / <a href="#"
class="sel">|</a>
}
Someone see something strange?
The result is an empty category name.
What could be wrong?
Lot of thanks in advance.
Unai Aizpurua
unaizp at gmail.com
More information about the TYPO3-project-tt-products
mailing list