[TYPO3] New cObject: Image Layout and rendering

Tomasz Trznadel tdi666 at op.pl
Mon Dec 3 13:30:59 CET 2007


Hi list, i've added a new layout to the cObject: Image.

tt_content.image.20 = USER
tt_content.image.20 {
 layout = CASE
 layout {
  11 = TEXT
  11.value = <div class="my_classes">###IMAGES######TEXT###</div><div 
class="csc-textpic-clear"><!-- --></div>
  11.insertData = 1
 }
}

Now i need to change the renderings wraps:

tt_content.image.20.rendering.dl.imageRowStdWrap.dataWrap = <div 
class="my_classes"> | </div>

and the question is how must i make an "if" to check which layout is used 
and change rendering if its layout 11.

regards Tomasz Trznadel 




More information about the TYPO3-english mailing list