[TYPO3-english] TSRef: FLUIDTEMPLATE no tt_content rendering f:cObject not working :(
Kay Strobach
typo3 at kay-strobach.de
Mon Feb 28 15:24:55 CET 2011
Hello folks,
i have a question regarding extbase and fluid.
With the current release in 4.5 and 4.6-dev it should be possible to
render Pagetemplates with fluid.
Based on an article in the T3N Magazine 23[1] from Patrick Lobacher i
started to build a template (see below). I also took a deep look into
the extbase wiki on [2].
The html stuff is send to the browser, but there is no tt_content
rendering at all.
I included the following templates:
CSS Styled Content
Fluid: Default Ajax Configuration
Regards
Kay
[... file = typo3conf/ext/basictemplate/
Resources/Public/Templates/main.html]
<div id="content">
{data.uid}
{data.title}
<f:format.html>{data.bodytext}</f:format.html>
</div>
<f:debug>{data}</f:debug>
<f:cObject typoscriptObjectPath="lib.test1" />
[/...]
[... PageTS]
page = PAGE
page.10 = FLUIDTEMPLATE
page.10 {
file = typo3conf/ext/basictemplate/Resources/Public/Templates/main.html
variables {
fff < lib.test1
}
}
[/...]
using something like
EXT:basictemplate/Resources/Public/Templates/main.html throwns an
Exception -> scarry huh?
While my master idea was to put all the layout stuff into an extension,
what would be a great benefit over templavoila.
[1] http://t3n.de/magazin/seitentemplates-fluid-226788/
[2]
http://forge.typo3.org/projects/typo3v4-mvc/wiki/FLUIDTEMPLATE_Content_Object
--
http://www.kay-strobach.de - Open Source Rocks
More information about the TYPO3-english
mailing list