Posted By

arnekolja on 06/04/10


Tagged

typoscript wrap stdWrap templavoila


Versions (?)

Wrap only if not empty in TS and/or TemplaVoila


 / Published in: TYPO3
 

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

  1. temp.rightContent < styles.content.getRight
  2. temp.rightContent.stdWrap {
  3. wrap = |
  4. required = 1
  5. }
  6.  
  7. # in TemplaVoila one would use this within the "default stdWrap" section of the mapped element:
  8. wrap = <section id="teaser-intro">|</section>
  9. required = 1

Report this snippet  

You need to login to post a comment.