[ic] cat-exec bar_link - how to configure? (IC 5.2/category_verical)

Ed LaFrance (New Media E.M.S.) ic_users at newmediaems.com
Thu Jul 8 11:48:50 EDT 2004


At 08:48 PM 7/7/2004, you wrote:

>[cat-exec bar_link]cat[/cat-exec]<BR>
>
>This tag is in category_vertical and seems to generate a long HREF like 
>like 
>http://secure.site.com/cgi-bin/estore/scan/st=db/co=yes/sf=category/se=Intestinal/op=eq.html
>I want to change op=eq to op=rm so that putting items in multiple 
>categories will work but I can't figure out how to configure the cat-exec 
>link, much less the admin interface to all of this.
>
>thank you in advance,
>
>Tom Friedel
>http://www.readyink.com

Dear Tom -

[prefix-exec foo][/prefix-exec] calls global subroutine 'foo' and passes it 
the string contained within the tag pair. So in the case above, the 
GlobalSub bar_link is called, and the string 'cat' is passed to it.

You'll find the bar_link subroutine in VENDROOT/catalog_before.cfg, I 
believe. You can modify the code in this routine to automatically add the 
additional terms you want to the scan URL's it generates. If you don't want 
to touch this code, then your other option is to use the UI to change all 
category links to the 'Complex Search' type, which allows you to define the 
full set of search terms associated with the link. In versions 4.8.x, I 
believe this was done with the Design tab; in versions 5.x, it is 
Miscellaneous : Legacy Tools : Layout Editor.

- Ed



===============================================================
New Media E.M.S.              Technology Solutions for Business
11630 Fair Oaks Blvd., #250   eCommerce | Consulting | Hosting
Fair Oaks, CA  95628          Ed.LaFrance at newmediaems.com
(916) 961-0446                http://www.newmediaems.com
(866) 519-4680 Toll-Free      (916) 961-0447 Fax
=============================================================== 



More information about the interchange-users mailing list