[Typo3] nested wrapping?

Bing Du du_bing at hotmail.com
Fri Jun 24 19:19:22 CEST 2005


Template autoparser is used.

<td id="left">
  <div class="text">blah</div>
  <div class="img">photo</div>
</td>
<td id="right">
  <div class="text">blah</div>
</td>

TD.all = 1
DIV.all = 1

If I do:

  subparts.text < temp.something

that will get both "text" DIV replaced with the same stuff.  What if I 
want to replace each "text" DIV with different stuff respectively?  Is 
it possible to do:

subparts.left.text < temp.something
subparts.right.text < temp.somethingelse

Thanks,

Bing



More information about the TYPO3-english mailing list