[TYPO3] ifNotEmpty
    Tyler Kraft 
    tyler.kraft at netefficiency.co.uk
       
    Tue Apr  1 22:14:59 CEST 2008
    
    
  
why don't you start with border and just simply override with left?
Jan Bednarik wrote:
> Hey,
> 
> don't tell me, it's not possible :)
> 
> I want to wrap content only if there's something in it. But this is not 
> working:
> 
> page.10.subparts.CLEFT < styles.content.getLeft
> page.10.subparts.CLEFT {
> stdWrap.required = 1
> stdWrap.wrap = <div class="padding">|</div>
> stdWrap.ifEmpty.wrap = |
> }
> 
> moreover, I'd like to substitue left content with border, if left is empty:
> 
> page.10.subparts.CLEFT < styles.content.getLeft
> page.10.subparts.CLEFT {
> stdWrap.required = 1
> stdWrap.wrap = <div class="padding">|</div>
> stdWrap.ifEmpty.override.cObject < styles.content.getBorder
> stdWrap.ifEmpty.override.cObject.slide = -1
> stdWrap.ifEmpty.override.cObject.wrap = |
> }
> 
> doesn't work either.
> 
> Any ideas? Thanks
> 
    
    
More information about the TYPO3-english
mailing list