Zum Inhalt springen

Alternierende Tabelle mit Templavoila und TypoScript

Erstellt am 18. August 2011 · Noch keine Antworten

Tags: Frage

haribo1000 ·

Hallo zusammen,
bräuchte bitte eure Hilfe.
Es geht prinzipiell um eine Tabelle wo man Termine eintragen kann.
Ich habe eine Tabelle die so aussieht:

 <table cellpadding="5" cellspacing="0" border="1" bordercolor="white" class="termintable">		
                        <tr class="rowone">               
                            <td class="datumtd">Datum</td>               
                            <td class="infotd">Info</td>
                             <td class="orttd">Ort</td>         
                            <td class="kartentd">Karten</td>
                        </tr>
                        <tr class="rowtwo">               
                            <td class="datumtd">Datum</td>               
                            <td class="infotd">Info</td>
                             <td class="orttd">Ort</td>         
                            <td class="kartentd">Karten</td>
                        </tr>
                    </table>

Ich habe diese jetzt als FCE im TemplaVoila gemappt (als wiederholendes Element).
Meine Frage dazu: Wie schaffe ich es dass die Tabelle alternierend wird. D.h. einmal als Klasse "rowone" und einmal als Klasse "rowtwo" steht?

Liebe Grüße
Corinna