Return to Snippet

Revision: 27367
at June 4, 2010 03:53 by arnekolja


Initial Code
temp.rightContent < styles.content.getRight
temp.rightContent.stdWrap {
  wrap = |
  required = 1
}

# in TemplaVoila one would use this within the "default stdWrap" section of the mapped element:
wrap = <section id="teaser-intro">|</section>
required = 1

Initial URL


Initial Description
required = 1 is the magic here

stolen from
Read more: http://www.typo3wizard.com/en/snippets/general-config/wrap-only-if-not-empty.html#ixzz0psA1PVX2 
Under Creative Commons License: Attribution

Initial Title
Wrap only if not empty in TS and/or TemplaVoila

Initial Tags


Initial Language
TYPO3