how do I disable the "content" tab?

intertik - April 6, 2009 - 04:01
Project:Google Custom Search Engine
Version:6.x-1.2
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

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

#1

The Computer Au... - April 19, 2009 - 19:49

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

stackpool - June 4, 2009 - 01:20

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

moscheIT - July 9, 2009 - 12:52

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

#4

IbnDrupal - August 25, 2009 - 16:37

@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

topologicc - September 2, 2009 - 17:43

@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

chadd - October 12, 2009 - 20:50

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

luthien - October 26, 2009 - 18:00

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

chadd - October 28, 2009 - 15:16

#7 worked perfect for me

 
 

Drupal is a registered trademark of Dries Buytaert.