Google CSE

Google Custom Search Engine (CSE) is an embedded search engine that can be used to search any set of one or more sites. No Google API key is required. Read more at http://www.google.com/cse/.

After installing this module, configure it by entering Google's unique ID for your CSE. Once you have granted permission for one or more roles to search the Google CSE, the search page can be found at search/google, and a search block can also be enabled.

Due to Google and Drupal both making use of "q", this module requires that clean URLs be enabled.

The current maintainer does not plan to add new features to this module, however patches providing new features are welcome and will be reviewed.

To configure this module, you will need your CSE's unique ID. To find it, go to your CSE manage page and click on control panel.

The collapsed advanced settings on the settings page provide various customizations such as country and language preferences. For example, with the Locale module enabled, the Google CSE user interface language can be selected dynamically based on the current user's language.

Features available only in the Drupal 6 and 7 versions:

In addition to the CSE functionality, SiteSearch on one or more domains or URL paths can optionally be configured. Radio buttons allow users to search on either the SiteSearch or the CSE, and searches can default to either option.

On Drupal 7, Google CSE integrates with Drupal core's Search API. On Drupal 6, the "Google CSE search" module is an optional glue module that integrates Google CSE with the core Search API. After enabling this module, search queries will be logged by the Search module and users can click between available search tabs: "Content", "Google", "Users", etc.

An additional Google CSE block can be enabled, assigned to a region, and set to display on certain paths. This block allows any page on your site to host a self-contained CSE search form and results display. When entering search terms, the user will be returned to the same page (via GET request) and the results will be displayed.

Project Information

Downloads