Try our conversational search powered by Generative AI!

Disable search in file manager?



Is it possible to disable the search-button in the file manager? If yes, how can I do this?

Jan 08, 2016 15:27

I'm sure there's a proper way to disable it by code, but you could also do it dirty and simply change the CSS for that particular button to hide it.

It is an <input> with the class "epi-cmsButton-tools epi-cmsButton-Search". 

For CMS 6 R2, The style for this is defined in C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Application\App_Themes\Default\Styles\ToolButton.css (line 322).

Add "display:none" for this element and its parent for a quick solution.

BEWARE that this is a CSS file used globally for all CMS 6 sites on that same server. If you only want to change it for your site, override the button's style in your own style sheet.

You'll find some tips on that in Arve's blogpost

Jan 12, 2016 12:30

Thanks for the dirty trick :)

I guess I'm going to use this if I don't get any other information on how to disable the search button.

Jan 18, 2016 10:32
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.