[TYPO3] wrap content
Akos Horvath
freesys at freesys.hu
Tue Sep 12 11:24:38 CEST 2006
Hi,
I always have problem with wrapping elements. I would like typo to wrap
the rightcontent (styles.content.getRight) in a DIV, but only if it
contains something (ie not empty). I tried with this:
lib.rightcontent = HTML
lib.rightcontent < styles.content.getRight
lib.rightcontent.wrap = <div class="rightdiv"> | </div>
PLUS I tried with
lib.rightcontent.wrap.required = 1
BUT it always wraps if the content is empty or not
thx
Akos
More information about the TYPO3-english
mailing list