[TYPO3-mvc] FLUIDTEMPLATE error
Steffen Müller
typo3 at t3node.com
Mon Nov 29 23:10:49 CET 2010
Hi.
On 23.11.2010 13:57 Thomas Kieslich wrote:
> Thanks for have a look at this. I try the Patch, but it did not help.
>
I can confirm the problem using latest TYPO3v4 trunk rev. 9677.
The suggested patch does not help.
I could nail down the problem in Thomas example to the <f:format.html>
viewhelper. When I remove the VH from the Fluid template, it works.
I tested with image VH, which also does not work.
But using if-then-else VH works!
Working minimal template example:
<--- TypoScript:
lib.myTest = TEXT
lib.myTest.value = Hello World!
page = PAGE
page.wrap = <body><html>|</body></html>
page.10 >
page.10 = FLUIDTEMPLATE
page.10 {
file = fileadmin/fluid/working.html
variables {
content < lib.myTest
}
}
<--- fileadmin/fluid/working.html:
<h1>{content}</h1>
To reproduce the error, use:
<--- fileadmin/fluid/failing.html:
<h1><f:format.html>{content}</f:format.html></h1>
--
cheers,
Steffen
TYPO3 Blog: http://www.t3node.com/
Microblog: http://twitter.com/t3node
More information about the TYPO3-project-typo3v4mvc
mailing list