[TYPO3-dev] FLUIDTEMPLATE: How to feed in template from content object?

Xavier Perseguers xavier at typo3.org
Sun Aug 12 11:53:24 CEST 2012


Hi Martin,

> It seems that FLUIDTEMPLATE doesn't have that intermediate ".template"
> property!? I really need a physical file:
> 
>    page.10 = FLUIDTEMPLATE
>    page.10.file = fileadmin/templates/main.html
> 
> Q:
> Big question: Is there a way to pass content from a content object to
> FLUIDTEMPLATE like I can do with TEMPLATE?

"file" like virtually all properties supports stdWrap so you should
easily write something like that:

page.10.file.cObject =< plugin.tx_automatetemplate_pi1

HTH

-- 
Xavier Perseguers
Release Manager TYPO3 4.6

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




More information about the TYPO3-dev mailing list