[TYPO3-mvc] Template configuration

Andreas Lappe nd at off-pist.de
Tue Jan 4 22:44:07 CET 2011


On  4.01.11, Dawid Pacholczyk wrote:
> Hello List !
> 
> I have 3 sites on 1 installation. I use on all of them one of my
> extbase extensions. On each  of my sites I want to configure
> different template. How can I configure that ?
> 
> I mean portal A have list_A.html, portal B have list_B.html and so on.

Hello Dawid,

I'd make three folders A, B, C e.g. in fileadmin/templates/yourExt/ and
then set the templateRootPath like that:

plugin.tx_yourExt.view.templateRootPath = fileadmin/templates/yourExt/A/

And on portal B:
plugin.tx_yourExt.view.templateRootPath = fileadmin/templates/yourExt/B/

…

Does that work for you?

So long
Andy
-- 
``Combine the light bulb with the automobile, ramp up their synergistic
  ideologies to the extreme, and you have Las Vegas.´´ -Vaidhyanathan


More information about the TYPO3-project-typo3v4mvc mailing list