Re: How to keep track of iterations through a for loop in my template?

2007-10-02 Thread Henning Hraban Ramm
Am 2007-10-01 um 23:59 schrieb Greg: > I have a table in my template that will contain an x number of rows > depanding on what I get back from the view. I want my table row > background color to rotate between red and white. As of now, I don't > know how to keep track of each iteration through

Re: How to keep track of iterations through a for loop in my template?

2007-10-01 Thread George Vilches
Greg wrote: > Hello, > I have a table in my template that will contain an x number of rows > depanding on what I get back from the view. I want my table row > background color to rotate between red and white. As of now, I don't > know how to keep track of each iteration through my for loop to

Re: How to keep track of iterations through a for loop in my template?

2007-10-01 Thread jake elliott
hi greg Greg wrote: > Hello, > I have a table in my template that will contain an x number of rows > depanding on what I get back from the view. I want my table row > background color to rotate between red and white. As of now, I don't > know how to keep track of each iteration through my for

Re: How to keep track of iterations through a for loop in my template?

2007-10-01 Thread Malcolm Tredinnick
On Mon, 2007-10-01 at 14:59 -0700, Greg wrote: > Hello, > I have a table in my template that will contain an x number of rows > depanding on what I get back from the view. I want my table row > background color to rotate between red and white. As of now, I don't > know how to keep track of each

How to keep track of iterations through a for loop in my template?

2007-10-01 Thread Greg
Hello, I have a table in my template that will contain an x number of rows depanding on what I get back from the view. I want my table row background color to rotate between red and white. As of now, I don't know how to keep track of each iteration through my for loop to set the appropriate