By coolasclyde on
I am trying to install Google Custom Search engines on my site and host the results on another page on my site as well. The search engines are on page 1 but when I hit "search" it says "Page not found" on page 2 where the results are suppose to appear.
Does anyone know the solution to this problem? Thank you for your time and help, it is greatly appreciated.
Comments
2 suggestions
I only have 2 suggestions:
*Make sure the page that the search's are listed on is an actual page that you have already made.
*Make sure the search engine HTML is written correctly.
Hope it helps!
Talk later, Holmesey
--
President Holmesey.com
http://www.holmesey.com
--
President Holmesey's Gaming Forum
http://holmesey.14.forumer.com
--
President Holmesey's Gaming Wiki
http://holmesey.elwiki.com
double checked
I double checked everything. I wonder if I have to change the q variable as is done in Google Adsense for Search: http://drupal.org/node/78888
I tried changing the q variable to as_q as suggested but that didn't work either.
Any other suggestions or experience with this is very appreciated.
Thank you!
solution found
I had to set the input format to php and use "as_q" instead of the "q" in Google's code. It works fine now!
Thank You
Hello,
Thanks for giving the trick. Your trick works perfectly. Again Thank You :)
it works, but it's again the tos?
Hi, thanks for your solution, it works, but the "google custom search" phrase in input box disappears. I wonder if this is again the Gooogle CSE Terms of Service.
see this picture for an example. Above is the original input box, and below it is the modified (without the the "google custom search phrase")
Same here
Yup, same problem here, when you do the "as_q it works but the javascript watermark disappears.
Using "as_q" instead of the
Using "as_q" instead of the "q" in Google's code make the page not found error go
Had to use this custom search because i didn't like the analytics search module.
thank you
The same things happen to
The same things happen to me. I created the Google custom search page put the cse code in my drupal block. Then I created the page to put the search result. Then I saved it and search form action directed to that page.
e.g
Then, I searched in my google custom search and the same error "page not found " had been displayed.
So, I searched in drupal forum and found that as_q works fine.So I cahnged it to as_q in my search block
but when i search something in the block, the result goes to http://mysite.com but it doesn't show the result in node/123.
How can I fix that probelm?I need it seriously. Your help is highly appreciated.
new window ?
the as_q worked for me
now i need to open a new window when users leave the site