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

Issue Summary

I only want the Google tab to be displayed, is there any way to disable the "Content" tab on the CSE search results?

any advice will be greatly appreciated

Comments

#1

I believe you can either disable the Drupal search module or in the access control settings uncheck the ability to use the search module. This should remove the tab.

#2

You're right, this is a good module, but it should at least have a few lines of documentation as it's not the most intuitive of UIs at all.

If you go to the Modules section (admin/build/modules) and uncheck the module "Google CSE search", that disables the appearance of alternative search tabs.

Give everybody access to "search Google CSE" in the google_cse module entry in admin/user/permissions.

Then uncheck all the users in "search content" listed under "Search Module", also in admin/user/permissions. I unchecked the advanced search options as well.

I think that's about it. Works for me anyway! :-)

#3

Don't work for me :( if i follow you instrutions , the search box disapair

#4

@stackpool

This doesn't work for me.

Infact I'm not sure how this can work for you either. By removing "search content" permissions, the search box disappears...

#5

@moscheIT IbnDrupal

You need to add the Google CSE block for the search box to show up. If two search boxes appear, then uncheck the regular search module in Core-Optional

#6

same problem here.
i have the google cse block enabled.
when i remove anonymous permissions for the core search module, anonymous users can no longer use the google CSE.
they can still see the google CSE search box, but when a search is submitted, they are sent to /search/google/[query]/[querystring containing google cse id/info]
and they get an access denied. they can successfully go to /search/google/ but once a search is performed, they are blocked.
any help on this one?
i'd like to get rid of the content tab because it is very confusing for users to have 2 sets of different results.
thanks!

#7

The following settings worked well for me:

1) go to the Modules section (admin/build/modules) and uncheck the module "Google CSE search".
2) go to admin/user/permissions, and give everybody access to "search Google CSE". Remove permissions for all de users for "search content" and "advance search" entries.
3) go to the Modules section (admin/build/modules) and uncheck the module "Search".

It is basically the same solution proposed by #2.

#8

#7 worked perfect for me

#9

A-ha... so the "Google CSE search" module is where the dependency is...

#10

Is there another way to do this? Removing the standard Search module conflicts with Search 404's ability to integrate with Google CSE.

#11

Exactly what i needed!!!

#12

@ #10

Also, it seems to prevent search terms from being passed on when you move to other search tabs (like USERS or PROFILE)... The text in the field just disappears...