[ic] linking to html from result.html page

Ed LaFrance edl@newmediaems.com
Fri, 30 Mar 2001 16:09:21 -0800


At 05:35 PM 03/30/2001 -0500, you wrote:
>Sorry, to ask again so soon but it is not clear to me where to look in the
>documentation for this.
>
>In the results.html page it says: <a href="[area [item-code]]">....</a> to
>build a link for when someone clicks on the product description. I would
>rather have it link to a field I define for each product.  I changed that
>code to: <a href="[area [item-field www_desc]]">...</a> where www_desc is a
>field I added to the products database. It 'works' except that it looks for
>the page under cgi-bin rather than under the html directory. How do I get it
>to go to my normal html directories?
>
>Thanks again! I don't think it would be possible to use Interchange without
>this list.
>
>Jim

Here's one way (check the setting of the SAMPLEURL variable in catalog.cfg)

<a href="__SAMPLEURL__/[item-field www_desc]">...</a>

- Ed L.



===============================================================
**** Virtual Hosting w/private IC Installation, $65/month! ****
---------------------------------------------------------------
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================