'google' is undefined

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
7/28/2010 1:23:17 PM
Gravatar
Total Posts 4

'google' is undefined

Hi Joe,

I'm trying to enable Google Search for my site, but the search page just displays 'Loading' and nothing happens. Then I noticed that the page loaded with errors and so double clicked the 'Done with errors' in the status and found

Message: 'google' is undefined
Line: 197

I'm using the artisteer-24verticalmenu2 template with my site and I believe I have setup the correct 'Google Custom Search ID'. Can you please help?

Thanks
Deepak

9/20/2010 2:21:34 AM
Gravatar
Total Posts 2

Re: 'google' is undefined

I have the same problem, please help to solve it.
http://www.codestore.ru/SearchResults.aspx

9/20/2010 3:56:01 AM
Gravatar
Total Posts 2

Re: 'google' is undefined

I'm not sure that my solution better, but it works.
In layout.Master the tag body added the following code:

<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
  google.load('search', '1');
</script>

You must sign in to post in the forums. This thread is closed to new posts.