[TYPO3-shop] multiple templates - templateFile only works in constants section?

Juan Pablo Villaverde jpablo at omnisciens.com
Wed Apr 23 07:52:06 CEST 2008


Hi! I have a product list included from TS:

lib.leftcol < plugin.tt_products
lib.leftcol.code=LIST

this object is a TemplaVoila TypoScript Object Path. This works fine, but I 
need to include TWO product list in the same page with different designs.
How can I make a relation of a templeate to an specific instance of the 
plugin (lib.leftcol in this case)?

I tried this:
temp.leftcol< plugin.tt_products
temp.leftcol.code=LIST
temp.leftcol.file.templateFile = fileadmin/templates/templateONE.tmpl

temp.rightcol< plugin.tt_products
temp.rightcol.code=LIST
temp.rightcol.file.templateFile = fileadmin/templates/templateTWO.tmpl

but "templateFile" seems to work only from the constants section, and I have 
another "general" template in the constants section.

Thanks in advance.

jp 




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