Postponed
Project:
Totem
Version:
7.x-1.0-beta1
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Mar 2013 at 16:48 UTC
Updated:
18 Mar 2013 at 14:08 UTC
Hi
How do I remove the "File" and
"File Collection" from the Search Menu please?
Many Thanks for your help
Charles
Comments
Comment #1
natemow commentedYou'll need to implement hook_form_FORM_ID_alter in a new custom module, then alter the "type" field options. Alter form ID search_block_form for the header search tool, and search_form for the advanced search.
Note that this will not actually remove the media and media_collection node types from the search index, only from the UI. For v7.2, we are considering adding an admin option to include/exclude types via the search index config screen as well.
Comment #1.0
natemow commentedupdate wording