[TYPO3-english] Wrap condition (required = 1) is not working!
Benoit Montereau
bmontereau at gmail.com
Mon Sep 12 14:43:06 CEST 2011
Hi Ralf and Viktor,
Using
stdWrap.wrap = <div data-role="content"><div class="ui-body ui-body-d"><div
data-role="collapsible-set">|</div></div></div>
stdWrap.required = 1
as latest wrap "operation" instead of
wrap = <div data-role="content"><div class="ui-body ui-body-d"><div
data-role="collapsible-set">|</div></div></div>
solved my problem. Thanks both for your help.
Cheers,
Ben
2011/9/12 Ralf-Rene Schröder <ralf.rene at online.de>
> 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
> ______________________________________________
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list