[Radiant] r:cycle reset without output

Sean Cribbs seancribbs at gmail.com
Tue Mar 11 11:09:16 CDT 2008


rainer,

Either use a different cycle name or reset it on its next actual use.

Sean

rainer griess wrote:
> Me again,
>
> somewhere in my page I have this:
>
> <r:child:attachment:each>                                                                        
>
>    <a href="#"><r:cycle values="1, 2, 3, 4, 5" name="imagecnt" /></a>
> </r:child:attachment:each>
>
> This is part of another loop sourrounding it. I have to set the cycle 
> counter to 0 after the coder above is passed. Something like:
>
> <r:child:attachment:each>                                                                        
>
>    <a href="#"><r:cycle values="1, 2, 3, 4, 5" name="imagecnt" /></a>
> </r:child:attachment:each>
>
> <r:cycle values="1, 2, 3, 4, 5" name="imagecnt"  reset="true" />
>
> But this is generating output, which is not what I want. I need the 
> counter set to 0 without any output.
>
> Is this possible?
>
> Cheers,
> rainer
> _______________________________________________
> Radiant mailing list
> Post:   Radiant at radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>



More information about the Radiant mailing list