googleSearch (CSE) module
Written by kksou   
Tuesday, 06 January 2009

This module complements the googleSearch_cse component.

It allows you to add a Google search form as a module. This means that you can place the search form in any module position you like.


When the user clicks the search button, the search result will be displayed in your Joomla main body by the googleSearch_cse component.

Let me emphasize again that you need to have the googleSearch_cse component installed for this to work.

Available for all Joomla versions: Joomla 1.0, 1.5, 1.6, 1.7 and 2.5!!


Latest Version

v1.6 (for Joomla 1.6), v1.7 (for Joomla 1.7), v2.5 (for Joomla 2.5)
Released March 15, 2012

Native version of the googleSearch (CSE) component for Joomla 1.6, 1.7 and 2.5!

Note: Please make sure if you have also installed the googleSearch_cse component. The module requires the component to work.

sh404SEF users

If you are using the googleSearch_cse component together with sh404SEF:

  1. Go to sh404SEF Configuration.
  2. Click the "By Component" tab.
  3. Look for the component "googleSearch (CSE)", and set the first column as "skip".
  4. Don't forget to click "Save".

Please also make sure you read the following article:

Running googleSearch with sh404SEF: fixing the error 'JFolder::folder: Path is not a folder: /language'

"JFolder::folder: Path is not a folder: /language"

For those of you who get this error message, please refer to the article below for the solution:

Running googleSearch with sh404SEF: fixing the error 'JFolder::folder: Path is not a folder: /language'

Download


How to install

  1. First, make sure you have installed the component googleSearch_cse component. This module DOES NOT work without the googleSearch_cse component.
  2. Download and install the googleSearch_cse module.
  3. Make sure the module is published / enabled.
  4. Select a module position where you want to place the module.

That's all you need to get started! You'll now have a Google Search form displayed in your selected module position, and the Google Search result displayed right inside your Joomla main body!

Customizing the Module

Note that the config options for googleSearch_cse module resides in the googleSearch_cse component. The rationale is that

  • The module and the component work in pairs.
  • Many of the options affect both the module and the component.
  • It's more convenient to be able to do the config settings all in one place.

Module config options:
  1. Width of Search Field: Specify the width of the search field in the module.
  2. Display search form in component:: Since you now have both the module and the component, by default, there will be a search form in the module, and another in the component. If you find this a bit distracting, you have the option to hide the search form in the component. Just set the option to "No" to hide the search form in the component.
  3. Display Last Search Value:
  4. If you wish to display the last search value in teh search form, just set this to "Yes". Default value is "No".

Module Class Suffix

Note that I do have one parameter added in the googleSearch module: the Module Class Suffix.

This is provided by some templates to give variations to the style of the module.

For example, in Joomla 1.5, if you're using the default "rhuk_milkyway" template, you can try setting this as _menu. You will find the module changed to a different style.

Note that this parameter is set in the Module Manager, not in the Component Manager.

History

  1. v1.0 (for Joomla 1.0) and v1.5 (for Joomla 1.5)
    Released January 6, 2009
  2. Note: It is important that you match the version number of your googleSearch_cse module with that of the googleSearch_cse component.


 

Comments  

 
# Ryan Rik 2012-03-19 05:48
It's working now~ Thanks a lot! ;-)
 
 
# smashup 2012-12-30 05:50
hi. i have this error Your client has issued a malformed or illegal request. That?s all we know. my site is localhost.
 
 
# andreaordodi 2013-04-23 14:38
I had it working originally but it continues to show a blank page when it searches. I've put in our Google search engine code, installed the module and it's enabled. No idea. We are trying to go live this week so our temporary URL is http://ringtail.arvixe.com/~soumut/smha/

Any help would be appreciated.
 
 
# kksou 2013-04-23 15:12
Hi,

You are using the old version of Google Search.

Think Google recently stopped the old versions of their google search API.

Please switch to the component/module that uses their Google Search CSE API.

Component: googleSearch (CSE) component

Module: googleSearch (CSE) module

Regards,
/kksou
 
< Prev   Next >

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2012. kksou.com. All Rights Reserved