googleSearch module
Written by kksou   
Sunday, 18 May 2008

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

If you know what Google's new Custom Search Engine (CSE) is about, you may want to use the newly released googleSearch (CSE) module.


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

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.



User reviews   Average user ratings:    4.0   (from 5 users)
  1. pahlevy
    May 20, 2008 7:30pm
    you are my hero...

    this was a perfect completion of the google search components... i really love this...

    thanks for everything mate, you help me a lot...

    regards,
    pahlevy

  2. zamorano68
    May 25, 2008 1:00am
    Wonderful

    You are the best!
    And everything really perfect!!

  3. Abraham Robert Asiedu
    December 17, 2008 5:37am
    Great, but problems with synchronisation

    Thanks so very much for this..
    But I think the search results is not exactly the same (as in current) compared to results from a normal google search.

    For instance, I searched for my site www.ccngh.net in the google search of my site, but couldn't find it in the results.

    However, the regular google search displays my site in the first page of results. Also happened when i searched my site in your site.

    Pls see to that for me....

  4. kksou
    December 17, 2008 6:49am

    Hi Abraham,

    That's because you've selected country in the option. Try compare the url of the google search result and that in the search page of your website. Did you see that additional country code in your url?

    Try uncheck any country that you've selected. The result should be the same. If it's different, that's because you've selected some additional option.

    Regards,
    /kksou

  5. Abraham Robert Asiedu
    December 19, 2008 7:34am
    Follow Up on Synch

    Thanks so much for the information.
    I changed the country to any region, and it displays more results than it used to....

    But i still can't find my website when i search my url in the google search on my website.

    However, I easily find my website when I search in the regular google search.

    I used to see even news items from my website in google search, when I type such keywords in google... but i don't see them when I use the google search on my website, and can't even find my website in a search result for it.

    Url is www.ccngh.net. Campus Christian Network.

    Thank you.

Note: You have to be a registered member to leave a comment. Free registration here.

Last Updated ( Sunday, 18 May 2008 )
 
< Prev   Next >

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