Project:Google Custom Search Engine
Version:6.x-1.2
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Drupal 6.4 and 6.x.1.2 of Google CSE. I added anonymous permissions for Google CSE and removed anonymous access permissions for drupal core search. Browser to /search/google as anonymous and get permission denied... Any ideas?

Comments

#1

It sounds like you have the Google CSE Search integration module enabled. With this module enabled, Google CSE uses the "search" path provided by the core Search module (rather than creating its own "search/google" path) and also uses the permissions of the core Search module. The solution should be to disable the Google CSE Search module.

Assuming this resolves it I probably need to figure out a way to document this.

#2

Status:active» closed (fixed)

Hey thank you for the fast reply and the awesome module. That did the trick.. using just the "Google CSE" and disabling the "Google CSE Search" allows me to have just Google CSE search on my site with anonymous access for searching located at /search/google. Very Cool...

#3

Status:closed (fixed)» needs review

Is there any way to keep the CSE Search module enabled, but also hide/lose the tab for "Content" search?
It is rather confusing to our users to see both the "Google" and "Content" tabs. Disabling the CSE Search module removes the tie-in to the Google Analytics module for tracking site searches.

#4

I am also looking for similar functionality as bgillard. No content tab, but the user tab can be there. Moreover, I would also like the search indexing to stop indexing (and increasing my DB size). Any suggestion would be helpful.

#5

Status:needs review» active

AFAIK you cannot enable the CSE search module and disable search indexing, unless you upgrade to Drupal 7. In the meantime, there should be some way to hide the tab whether thru permissions, hook_menu_alter, CSS, etc.

#6

You can hide the tabs by using some CSS:

body.page-search div.tabs {
        display:none;
}