[FLOW3-general] (FLUID) Different layout depending on the domainname

Bastian Waidelich bastian at typo3.org
Tue Dec 29 23:26:07 CET 2009


Marco Weber wrote:

Hi Marco,

> I would like to change the fluid layout depending on the Domain.

The path to the Fluid layouts is currently determined in the method 
"getLayoutRootPath" in 
https://svn.typo3.org/FLOW3/Packages/Fluid/trunk/Classes/View/TemplateView.php

I guess the easiest thing would be, to override this class in your 
package. Then you could place your custom layouts into separate folders.

However it might be better to specify the layout root path in your 
settings and override them for different domains..

Bastian


More information about the FLOW3-general mailing list