[Typo3] How do I do a conditional wrap?
Simon
typo3 at anglings.com
Wed Jun 29 16:27:59 CEST 2005
I've been search all day to find out how to perform a wrap only is a
value is in the database.
So far I have this and it's working well to wrap the content:
temp.subparts.CONTENT_RIGHT < styles.content.getRight
temp.subparts.CONTENT_RIGHT {
wrap = <div id="boxout"> | </div>
}
But if the there isn't any content in Right then I still have this empty
DIV floating around causing problems. I need to wrap
temp.subparts.CONTENT_RIGHT only is temp.subparts.CONTENT_RIGHT is not NULL.
I've searched these news groups, have trawlled through various manuals
inc the slightly scary TSref and still can't work out how to do this.
I'm sure it's really easy but could someone point me in the right direction.
Cheers everyone.
Simon
More information about the TYPO3-english
mailing list