Has anyone ever succeeded setting up a Google Custom Search
Posted: Wed Apr 21, 2010 12:10 pm
Hey !
I've tried the GCS module, but couldn't make it work. Then I tried a Google Custom Search Engine and it works fine, but not when I use the iframe version (where you can set to show the results of queries in one of your own pages).
I've done exactly what was asked but it just won't work. Has anyone managed to make this work on his own CMSMS ?
Details:
Code I've put instead of the classic search bar:
Then in the meta of the page:
{literal}
var googleSearchIframeName = "cse-search-results";
var googleSearchFormName = "cse-search-box";
var googleSearchFrameWidth = 600;
var googleSearchDomain = "www.google.com";
var googleSearchPath = "/cse";
{/literal}
and in the content of the page:
Votre recherche est en cours...
I've tried different adress for the results to appear, but I'm always redirect to the default page. I've then set the result to appear there, but it didn't even work.
I've tried the GCS module, but couldn't make it work. Then I tried a Google Custom Search Engine and it works fine, but not when I use the iframe version (where you can set to show the results of queries in one of your own pages).
I've done exactly what was asked but it just won't work. Has anyone managed to make this work on his own CMSMS ?
Details:
Code I've put instead of the classic search bar:
Then in the meta of the page:
{literal}
var googleSearchIframeName = "cse-search-results";
var googleSearchFormName = "cse-search-box";
var googleSearchFrameWidth = 600;
var googleSearchDomain = "www.google.com";
var googleSearchPath = "/cse";
{/literal}
and in the content of the page:
Votre recherche est en cours...
I've tried different adress for the results to appear, but I'm always redirect to the default page. I've then set the result to appear there, but it didn't even work.