[TYPO3-mvc] Different Layouts in Fluid

Bastian Waidelich bastian at typo3.org
Wed Jun 20 19:23:49 CEST 2012


Webmeck - TYPO3 wrote:

Hi Webmeck,

> how can I use different Layouts on different pages?

You can use Fluid placeholders in the layout name:

<f:layout name="Layout{foo}" />

See http://typo3.org/documentation/article/the-fluidtemplate-cobject and 
http://buzz.typo3.org/people/soeren-malling/article/fluidtemplate-selector-and-backend-layout/ 
for two examples.

HTH


-- 
Bastian Waidelich
TYPO3 Core Team Member

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-project-typo3v4mvc mailing list