[TYPO3-german] Immer Wrap um Fluid Variable
Christian Leicht
usenet at schani.com
Tue May 6 13:26:48 CEST 2014
OK,
aber wie kann ich dann die Variable übergeben?
Zur Zeit mache ich das so:
10 = FLUIDTEMPLATE
10 {
file = fileadmin/Templates/index1spaltig.html
layoutRootPath = fileadmin/Templates/layouts/
partialRootPath = fileadmin/Templates/partials/
variables {
navi < lib.navi
hauptbereich < styles.content.get
hauptbereich.select.where = colPos = 10
}
}
Dann konnte ich den hauptbereich so bekommen
<f:format.html parseFuncTSPath="lib.parseFunc">{hauptbereich}</f:format.html>
Das
<f:cObject typoscriptObjectPath="hauptbereich" />
funktioniert nicht. Ich muss also meine Variable erst in ein lib.hauptbereich bekommen.
Wie mache ich das?
Christian
> den wrap holst du dir über <format.html...
> hierfür würde ich folgendes nutzen:
> <f:cObject typoscriptObjectPath="lib.XXX" />
>
>
> Am 06.05.2014 10:32, schrieb Christian Leicht:
>> Hallo,
>>
>> ich versuche eine Fluid Variable in mein Template einzubinden.
>>
>> <f:format.html
>> parseFuncTSPath="lib.parseFunc">{hauptbereich}</f:format.html>
>>
>> Das funktioniert auch, nur wird mein HTML Code immer mit einem Wrap
>> umschlossen.
>>
>> <div id="c4" class="csc-default">
>> Hier steht mein eigentlicher Code drin
>> </div>
>>
>> Kann man das umgehen, so das nur der eigene Code angezeigt wird?
>>
>> Besten Dank für Hilfe
>>
>> Christian
>>
>
More information about the TYPO3-german
mailing list