Re: using forloop variable to get the provide special tags for the 4th element.

2008-09-23 Thread sotirac
Hi Steve, the cycle tag fixed the issue. Thanks. On Sep 15, 1:00 pm, Steve Holden <[EMAIL PROTECTED]> wrote: > Lee Hinde wrote: > > > On Sun, Sep 14, 2008 at 10:00 PM, sotirac <[EMAIL PROTECTED] > > > wrote: > > >     In the django template where I am using a for loop, I

Re: using forloop variable to get the provide special tags for the 4th element.

2008-09-15 Thread Steve Holden
Lee Hinde wrote: > > > On Sun, Sep 14, 2008 at 10:00 PM, sotirac <[EMAIL PROTECTED] > > wrote: > > > In the django template where I am using a for loop, I have to use a > special tag (div class="yui-u first" instead of div class="yui") for > every forth it

Re: using forloop variable to get the provide special tags for the 4th element.

2008-09-15 Thread sotirac
Thank you. I'll test this out. I also found the "cycle" tag which looks very promising. On Sep 15, 1:05 am, "Lee Hinde" <[EMAIL PROTECTED]> wrote: > On Sun, Sep 14, 2008 at 10:00 PM, sotirac <[EMAIL PROTECTED]> wrote: > > > In the django template where I am using a for loop, I have to use a > >

Re: using forloop variable to get the provide special tags for the 4th element.

2008-09-14 Thread Lee Hinde
On Sun, Sep 14, 2008 at 10:00 PM, sotirac <[EMAIL PROTECTED]> wrote: > > In the django template where I am using a for loop, I have to use a > special tag (div class="yui-u first" instead of div class="yui") for > every forth item. Im trying to create a table with three columns. I > can access t

using forloop variable to get the provide special tags for the 4th element.

2008-09-14 Thread sotirac
In the django template where I am using a for loop, I have to use a special tag (div class="yui-u first" instead of div class="yui") for every forth item. Im trying to create a table with three columns. I can access the first loop but how do I do it for every third. -- {% extends "b