[TYPO3-templavoila] Wrap ROOT field with condition of FCE

Sengchheang sengchheang at web-essentials.asia
Tue Dec 6 06:12:45 CET 2011


Hi everyone,

I have a question related to wrapping FCE with condition.
eq:

<div class="grid-2-col">
	<div class="left">Left</div>
	<div class="left">Right</div>
</div>

I mapped "div.grid-2-col" as the ROOT of the FCE.
I want to wrap this ROOT with html like below with condition
eg: myROOT.stdWrap.wrap = <div class="show-border">|</div>
     myROOT.stdWrap.if.isTrue.field = showBorderCheck

the result I want is below

<div class="show-border">
    <div class="grid-2-col">
	<div class="left">Left</div>
	<div class="left">Right</div>
    </div>
</div>

Thanks in advanced,
Sengchheang


More information about the TYPO3-project-templavoila mailing list