ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Google Site Search not working in template

February 15, 2012 10:33am

Subscribe [2]
  • #1 / Feb 15, 2012 10:33am

    Argyll

    67 posts

    I’ve got the paid version of Google Site search, trying to get it working inside EE templates.

    The supplied javascript is in the result page template, and the result page url is formatted like

    <a href="http://mysite.com/mygroup/search?q=searchwords">http://mysite.com/mygroup/search?q=searchwords</a>

    (template being named “search”)

    But when the page loads, it shows no results and just displays the word “Loading”

    Is it a url/EE conflict and does anyone know a solution?

  • #2 / Feb 15, 2012 11:03am

    Bhashkar Yadav

    727 posts

    is it Ajax request? can you look in Firefox at Console what request is being sent and response also.

  • #3 / Feb 15, 2012 11:04am

    Argyll

    67 posts

    Disregard - it was a bad path for the jsapi file

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases