[TYPO3-english] Wrap condition (required = 1) is not working!

Ralf-Rene Schröder ralf.rene at online.de
Mon Sep 12 12:13:33 CEST 2011


untested, but i think this will work

temp.listConnexe = COA
temp.listConnexe {
10 = CONTENT
10 {
table = tt_content
select {
languageField=sys_language_uid
where = (colPos=2)
orderBy = sorting
}
 renderObj = COA
renderObj {
10 = TEXT
10 {
field = header
wrap = <h3>|</h3>
required = 1
}
20 = TEXT
20 {
field = bodytext
wrap = <p>|</p>
required = 1
}
wrap = <div data-role="collapsible" data-collapsed="true"
data-theme="b">|</div>
stdWrap.required = 1
}
wrap = <div data-role="content"><div class="ui-body ui-body-d"><div
data-role="collapsible-set">|</div></div></div>
stdWrap.required = 1
}
}

-- 
Ralf-René Schröder
http://if-20.com  ... YAML templates for TYPO3
______________________________________________


More information about the TYPO3-english mailing list