[ic] pulling scan url variables

Kevin Walsh interchange-users@icdevgroup.org
Sun Aug 25 10:10:00 2002


> 
> Does anyone have an idea of how I might be able to pull sf & se variables 
> from a scan URL
> such as the following:
> 
> http://site/cgi-bin/site/scan/fi=products/st=db/co=yes/sf=pre_release/se=1/va=banner_image=/va=banner_text=.html?id=ZcR5N7
> Yw&mv_pc=4575
> 
> I want to be able to see that pre_release is 1 and based on that have a 
> message for the customer
> on the results.html page.
> 
> Any hints that I'm missing? :)
> 
You could extract the search parameters if you wanted to.  That topic
has been discussed several times, with various solutions if you search
the mail list archives.

Another method, in your case, could be to simply use this sort of code
on your results page:

    [if-item-field pre_release == 1]
        This item has not been released.
    [/if-item-field]

If you do that then they will see the pre-release note, for the
appropriate items, even if they use a keyword search.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/