I can't make WebSearch work at my dynamic site (ASP.NET). It goes back to the original page upon search request for both web search or site search. Any idea anyone?
jomaxx
12:05 am on Jun 19, 2004 (gmt 0)
Did you paste the code in unchanged?
adfree
8:34 am on Jun 19, 2004 (gmt 0)
yep
bnhall
2:04 pm on Jun 19, 2004 (gmt 0)
I have WebSearch on a cgi generated page and everything's fine.
adfree
11:04 pm on Jun 19, 2004 (gmt 0)
There are submit forms on that template, could that interfere with the code?
jomaxx
11:12 pm on Jun 19, 2004 (gmt 0)
Good thought. Be sure you're not inserting the code between <form></form> tags.
adfree
11:24 pm on Jun 19, 2004 (gmt 0)
jomaxx that's exactly it. Unfortunately the form starts right after the body tag and closes before the closing of body so I don't really have any layout flexibility. Is there a way to embed the script somehow anyway?
jomaxx
12:34 am on Jun 20, 2004 (gmt 0)
I would reevaluate whether you need the whole page inside form tags. I don't know what you're doing but there must be a workaround.
charlier
5:48 am on Jun 20, 2004 (gmt 0)
Depending on where your non-google input/hidden elements are located you might be able to just close the exisiting form put in the google code and then reopen the exisiting form, ie
</FORM> Google code <FORM same attributes as original open>
If there are any hidden form elements before the google code you will have to copy them so they are in your new form block.
coho75
11:41 am on Jun 20, 2004 (gmt 0)
You might try using CSS to position the G search box. By doing this, you could put the G search code after your other form and get it to sit anywhere on the page that you want.