[TYPO3] TemplaVoilà: wrap every second content element

Manuel Reinhard m.reinhard at frappant.ch
Fri Sep 28 10:23:03 CEST 2007


Hello!
I'm new to this list and hope you guys can help me!

I'm using TemplaVoilà on my Typo3 site.
Now I'd like to warp every second content element of a certain  
content area.

Example:
I defined the area "main content" and put in some content elements.  
Now I would like every second content element to be wrapped so there  
would be something like this:

  <div class="anything">my content element</div>
my content element
  <div class="anything">my content element</div>
my content element
...


I found something on this page
http://www.typo3wizard.com/de/artikel/das-content-objekt.html
but that's not working for TemplaVoilà.

Any ideas?
Thx!
Manuel Reinhard
Switzerland





More information about the TYPO3-english mailing list