I'm not sure if the Google Search Block has been updated for 1.5 (the base code for all blocks changed substantially between 1.4 and 1.5!).
Delete the coded text that is currently in the box, toggle into text mode, and paste in the code again. Toggle back, and you SHOULD be able to see the Google logo and Search Box.
I've put a screen dump of my Google Search Box in the attached document for ease of reference.
The link to Google Search Code that I posted above will enable visitors to your site to search the WWW via Google - it won't search your site. Consequently, your site encoding wont affect the search.
If you want Google to search your site, there are a number of steps to take...
1. In your Admin pages, allow Google to enter the site.
2. Get the code from http://services.google.com/searchcode2.html?accept=on#both and paste it into your HTML block.
3. Have a browse through some of the help pages at http://www.google.com/support
I've just created the recommended HTML page, but a search of my site is always empty. Can you tell me, is this because I need to wait for Google's spiders to find my site (now that I've let Google in)? I'm using 1.7, so is this perhaps also an issue?
You do have to wait for the spiders. Sometimes they can take a long time (3-4 weeks) to crawl your site.
Cheers,
Zachary
There is, but as Jon said,
Begin Quote: the easiest and quickest way for you to have Google Search functionality on your site is for you to get the Google Search Code from http://www.google.com/searchcode.html and simply paste that to an html block.
Pretty simple, isn't it? Works like a charm.
Good Luck,
Zachary
http://www.google.com/searchcode.html doesn't take you to the search code any more. This does, though, and it's simple enough to edit it to suit your preferred regional flavour of google: http://www.google.co.uk/searchcode.html
Incidentally, I spent a frustrating 20 minutes trying and failing to make this work in a label in the Main Menu block on my moodle front page. So don't try that. Put it into its own HTML block and it works fine.
My colleagues and I have been having problems getting a Google Search Box into a block. It works okay the first time we view it, but if we go back into the block to edit anything, the value tag for the submit bar (that says 'Google Search') disappears and the words 'Submit Query' show up instead.
Does anyone have any ideas???