cancel
Showing results for 
Search instead for 
Did you mean: 

About hiding the header menu

yosk
Champ on-the-rise
Champ on-the-rise

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 ACCEPTED ANSWER

yosk
Champ on-the-rise
Champ on-the-rise

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

View answer in original post

1 REPLY 1

yosk
Champ on-the-rise
Champ on-the-rise

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