Gossamer Forum
Home : Products : Links 2.0 : Customization :

search result

Quote Reply
search result
How can I modify the script so when a search is done the "searched word" is inserted in a java script (similar to Amazon code) and
displayed on result page. I dont want it to show error when the key word is not listed in data base.


Quote Reply
Re: search result In reply to
You use <%query%> in the search_results.html page.

And if you want this to show up in the search box, then use:

Code:

<input type="text" name="query" value="<%query%>">


----this is a recording----

Regards,

Eliot Lee
Quote Reply
Re: search result In reply to
Thanks for the help. Is there an easier way to do this? I dont need any of Links2 functions. All I need is
when I do a search my keyword gets inserted into my affiliate program.

example:
my affiliate link http://www.adsearch.com/cgi-bin/partner/kickster/search.cgi?keyword"insert here"

now I want to add a search box that when some one does a search the key word gets inserted into the
affiliate link.

Is there a simpler cgi script that I can use to do this. Do I need a CGI script? Thanks for your help

Quote Reply
Re: search result In reply to
For the "Affiliate" links...use <%term%> as mentioned quite a few times in this forum.

Regards,

Eliot Lee