So this is the structure I have.
<% control StoreProducts %>
<% if Variants %>
<tr class="$EvenOdd"> // Shows what I want it to
<td><h4>$Title</h4></td>
</tr>
<tr class="<% if totalVariantsForTable == 2 %>last <% end_if %>first $EvenOdd"> // Shows what I want it to
<% control Variants %>
<% if Active %>
<% if First %><% else %>
<tr class="$FirstLast $EvenOdd"> // What do I do here?
<% end_if %>
<td>$Name</td>
</tr>
<% end_if %>
<% end_control %>
<% end_if %>
<% end_control %>
So basically I'm trying to get EvenOdd's that are all the same, so basically the EvenOdd value of the StoreProducts DataObjectSet. How would I access StoreProducts when its inside a control (and a couple if's)?
I thought $Top would be the answer, but not to be. Any thoughts guys?