Hallo zusammen,
ich bin gerade dabei mittels Fluid ein paar statische Seiten administrierbar zu gestalten.
Hier mal das TS:
config.admPanel = 0
page = PAGE
page {
config{
disableAllHeaderCode = 0
}
10 = FLUIDTEMPLATE
10 {
file = fileadmin/templates/index.html
partialRootPath = fileadmin/templates/partials/
layoutRootPath = fileadmin/templates/layouts/
variables {
contentGet < styles.content.get
}
}
}
die dazugehörige index.html:
<f:layout name="default"/>
<f:section name="body">
<div id="main" style="color:black;">
<!--TYPO3SEARCH_begin-->
<f:format.html parseFuncTSPath="lib.parseFunc">{contentGet}</f:format.html>
<!--TYPO3SEARCH_end-->
</div>
</f:section>
und die default.html:
<div id="body">
<f:render section="body" />
</div>
Im Quellcode wird alles ausgeben bis auf die Zeile <f:format.html parseFuncTSPath="lib.parseFunc">{contentGet}</f:format.html>. Gebe ich statt der Variablen einen festen Wert an, dann gibt er es aus. Die Variable jedoch nicht.
Weiß jemand Rat? Bräuchte da unbedingt einen Denkanstoß.
Grüße
Flo