[IC] Limit Results from Catagory List selection
Paul Vinciguerra
pvinci at vinciguerra.com
Wed Oct 15 15:13:28 EDT 2003
On Wed, 15 Oct 2003 08:51:27 -0700, Ed LaFrance wrote
> At 01:36 PM 10/15/2003 +0200, you wrote:
> >Quoting Craig Halverson <n0va at nbnet.nb.ca>:
> >>On Wednesday 15 October 2003 05:01, Rene Hertell wrote:
> >> > > Hey everyone,
> >> > > I've been poking around IC for a short while. I have a
> >> > > functional setup now
> >> > > with Canada Post Shipping, and a product database and whatnot.
> >> > > I'm wondering
> >> > > where i'd go about setting my ml= to return 20 results from a
category
> >> > > selection from the left category list instead of the default 50
> >> > > it gives.
> >> > > I've looked through all the default files and cant find any
reference to
> >> > > ml=50 or matchlimit=50 anywhere.
> >> >
> >> > You have to add mv_matchlimit (or ml) to your query/search. IC uses by
> >> > default 50 if nothing is specified..
> >> >
> >> >
> >> > René
> >>
> >>I'm not looking for a return from a search.. I'm looking for the left
> >>category
> >>list's routine so I can add the ml= to that query. If I change it in the
> >>actual component file, it only limits the amount of left categories that
show
> >>up not how many results are displayed when you click on the sub category.
> >
> >Those links are built using the bar_link routine. This routine
> >uses the data from the cat table.
> >I suggest you alter the data in the cat table as follows:
> >
> >Do the following for each entry in the cat table:
> >1. Change the link_type from 'Simple search' to 'Complex search'
> >2. Clear the selector field
> >3. Add following info to search field. Example for category 'Step Stools':
> >
> >sf=category
> >se=Step Stools
> >ml=20
> >
> >Good luck !
> >
> >
> >Best regards,
> >
> >Ton
>
> In the alternative, you could just modify the bar_link subroutine in
> VENDROOT/catalog_before.cfg to add the ml=n argument to the scan URL.
If you decide to go this route, you should copy the bar_link sub from
catalog_before.cfg and place it in your catalog.cfg and edit it there.
Otherwise your changes will affect every catalog on the box.
-Paul
>
> - Ed L.
>
> ===============================================================
> New Media E.M.S. Technology Solutions for Business
> 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting
> Fair Oaks, CA 95628 edl at newmediaems.com
> (916) 961-0446 http://www.newmediaems.com
> (866) 519-4680 Toll-Free (916) 961-0447 Fax
> ===============================================================
>
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
More information about the interchange-users
mailing list