About hiding the header menu

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member

About hiding the header menu

Jump to solution

I use Alfresco Share.

Based on

https://community.alfresco.com/thread/209832-modifying-the-share-header

The following contents were edited, and the menu could be hidden.


  <alfresco_dir>/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/share/header/share-header.get.js
(Add the following)
 widgetUtils.deleteObjectFromArray(model.jsonModel, "id", "HEADER_SITES_MENU");
 widgetUtils.deleteObjectFromArray(model.jsonModel, "id", "HEADER_PEOPLE");
 widgetUtils.deleteObjectFromArray(model.jsonModel, "id", "HEADER_REPOSITORY");

 

On the search result screen, the hidden menu will be displayed again.
Where is the web-script of the search result screen.
Please how should I solve this problem?

Thanks in advanced.

 (About environment)
 ・CentOS ver.7
 ・Alfresco Community Edition 201704 GA
1 Solution

Accepted Solutions
Highlighted
Active Member

Re: About hiding the header menu

Jump to solution

<alfresco_dir>tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/share/pages/faceted-search/faceted-search.get.js

View solution in original post

1 Reply
Highlighted
Active Member

Re: About hiding the header menu

Jump to solution

<alfresco_dir>tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/share/pages/faceted-search/faceted-search.get.js

View solution in original post