googleSearch module
Written by kksou   
Sunday, 18 May 2008
Important!!!
Please switch over to the googleSearch (CSE) module as Google is no longer supporting the old google adsense search code.

This module complements the googleSearch 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 component.

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

Available for both Joomla 1.0.x and native 1.5.x!

New googleSearch (CSE) module

Please switch over to the googleSearch (CSE) module as Google is no longer supporting the old google adsense search code.


Latest Version

v1.0.15 (for Joomla 1.0) and v1.5.15 (for Joomla 1.5)
Released January 12, 2009

Some of you encountered a blank page for search result for v1.5.14. This version fixed the bug. Thanks to Daniel for helping me find the bug and test the solution of the bug fix.

"JFolder::folder: Path is not a folder: /language". For those of you who get this error message, please refer to here for solution.

Note: It is important that you match the version number of your googleSearch module with that of the googleSearch component.

sh404SEF users

If you are using the googleSearch component together with sh404SEF:

  1. Go to sh404SEF Configuration.
  2. Click the "By Component" tab.
  3. Look for the component "googlesearch", 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

Important!!!
Please switch over to the googleSearch (CSE) module as Google is no longer supporting the old google adsense search code.

How to install

  1. First, make sure you have installed the component googleSearch component. This module DOES NOT work without the googleSearch component.
  2. Download and install the googleSearch 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 module resides in the googleSearch 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.


Last Updated ( Sunday, 18 May 2008 )
 

Comments  

 
# Steveb 2012-03-30 05:52
I seem to have the component but not the module. can anyone help?
Thanks
Steve
 
 
# kksou 2012-03-30 21:09
Hi,

The download link for the module is just right on this page. Look for the heading Download: http://www.kksou.com/php-gtk2/Joomla/googleSearch-module.php#download

Please let me know if you have problem downloading the module.

Regards,
/kksou
 
 
# Steveb 2012-03-30 23:33
Thanks kksou
I got it in the end, thanks. I must have been having a silly moment I seemed to be going around in circles. I couldn't find the module for 1.6. Thanks for the reply it works great but I can't control the ad content but that's a google thing. It keeps showing the competitions adds
Cheers
Steve
 
 
# kksou 2012-03-31 00:19
Hi Steve,

Yes, the module does not control the ads. It's Google controlling them.

But think there are some settings in your Google Adsense account to block some of the ads.

Regards,
/kksou
 
< Prev   Next >

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