[ic] modifying item-increment

cfm@maine.com cfm@maine.com
Thu, 19 Apr 2001 17:57:07 -0400


On Thu, Apr 19, 2001 at 01:59:48PM -0700, Ryan Hertz wrote:
> At 01:48 PM 4/19/01 , Russ Mann wrote:
> >Hello List,
> >
> >Is there any way in the [search-list] loop to modify the [item-increment]
> >variable?  I have some of these:
> >[item-next][calc]return 1 if '[item-field inactive]' ==
> >'1'[/calc][/item-next]
> >which causes the increment to go like this sometimes.
> >
> >1. 2. 4. 5. 7. 10.
> >
> >If I could do something like $item_ncrement--; in the item-next routine, it
> >would fix everything.  I've looked around in the source, but couldn't figure
> >out how to do this.
> 
> Your best bet is to just increment a scratch var and ignore [item-increment].


Alternatively it might be possible to modify the search so it does not 
include those, eg search where !inactive.  



> 
> 
> 
> 
> 
> Ryan Hertz                                              tel  800-645-BAIT
> Webmaster                                               fax  520-645-2588
> Advertising Director                                 http://www.baits.com
> Gary Yamamoto Custom Baits, Inc.                  mailto:rhertz@baits.com
> 
> 
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users

-- 

Christopher F. Miller, Publisher                             cfm@maine.com
MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
1.207.657.5078                                       http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux