PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Accessing "zoom_query" variable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Accessing "zoom_query" variable

    Is there any way to access/retrieve the search string entered by a customer when using the search.cgi module ?

    i.e Currently if a customer enters "tires brakes lights" into the search box a series of page results appear below based upon the given criteria.

    What we are looking to do is to also access that search string in a similar manner to that done by google or yahoo when a "list of sponsored sites also appears" based on the words entered.

    If we are offering discounted products (e.g. brakes) and the customer enters brakes as part of a general search string, we would like to highlight that product in the same way that other sites highlight their recommended sites.
    e.g. 20% discount on brakes - click here for details.

    However, in order to achieve the above we need to know what the search string being entered is.

    Is there any way to access this string ?

    Hope this makes sense.

    Many thanks,

    Pete

  • #2
    I can think of two solutions.

    1) Wrap our CGI script with your own code and just use the variables passed to your code. There are details of wrapping the scripts here,
    http://www.wrensoft.com/zoom/support/faq_ssi.html

    2) We have a recomended links feature in the next version of the software. This might solve the problem. There is a early beta available. E-Mail us if you want to try it.

    ------
    David

    Comment

    Working...
    X