[TYPO3] multiple CONTENT cobject ?

Rob De Vries spam_this at pandora.be
Fri Mar 10 15:03:04 CET 2006


hey,

I have this ts for listing content elemements:
but only the first element is displayedn the second is not.
I can't see any mistake in tthis code.
If i remove the seconf renderObj it does work. adding a second seems to 
brake the code.

any solution for this?

tnx
Rob




temp.prodlist3 = COA
temp.prodlist3 {
10 = CONTENT
10.wrap = <div class="prodlist"><div class="prodlist-top"> </div>| 	<hr 
class="clear" /><div class="prodlistfooter"></div></div>
10 {
   table = tt_content
   select {
        pidInList = 5
        where = uid=14
   }
  renderObj = COA
  renderObj {
   10 = TEXT
   10 {
     field = header
     wrap = <h3> | </h3>
    }

   20 = TEXT
   20 {
     field = image_link
     wrap = <div class="prodimg"><a href="index.php?id=|">
    }

   21 = TEXT
   21 {
     field = image
     wrap = <img src="uploads/pics/|" alt="produkten" /></a></div>
   }

   30 = TEXT
   30 {
    field = bodytext
    wrap = <div class="prod-content"><p> | </p></div>
  }
}

20 = CONTENT
20.wrap = <div class="prodlist"><div class="prodlist-top"> </div>| 	<hr 
class="clear" /><div class="prodlistfooter"></div></div>
20 {
   table = tt_content
   select {
        pidInList = 5
        where = uid=13
   }
   renderObj = COA
   renderObj {
    10 = TEXT
    10 {
     field = header
     wrap = <h3> | </h3>
    }

   20 = TEXT
   20 {
     field = image_link
     wrap = <div class="prodimg"><a href="index.php?id=|">
    }

  21 = TEXT
  21 {
   field = image
   wrap = <img src="uploads/pics/|" alt="produkten" /></a></div>
   }

   30 = TEXT
   30 {
     field = bodytext
     wrap = <div class="prod-content"><p> | </p></div>
   }
  }
}



More information about the TYPO3-english mailing list