cancel
Showing results for 
Search instead for 
Did you mean: 

Hide menu tree menu

johnny_k
Confirmed Champ
Confirmed Champ
Hello everyone!
i need hide some menu from left table. I marked it red color in attachment.
Thank you ! 
4 REPLIES 4

niketapatel
Star Contributor
Star Contributor
You can hide it from page template.

If its site document library page then check this template "documentlibrary.ftl". If its repository then check this one - repository.ftl.
Both are located at  tomcat\webapps\share\WEB-INF\classes\alfresco\templates\org\alfresco

Hide region which you dont need. Below is example. Please use extension for your custom changes.


         <div class="yui-b" id="alf-filters">
            <div style="display:none; width:"0px">  <#– hide below all region –>
               <@region id="filter" scope="template"/>
               <@region id="tree" scope="template"/>
               <@region id="categories" scope="template" />
               <@region id="tags" scope="template"/>
            </div>
         </div>


Hope this helps!

Thank you very much !!!  I made it already yesterday, as you say

my answer to a question :

 
       
    <div class="yui-b" id="alf-filters">
      <div style="display:none; width:"0px">  <#– hide below all region –>
            
    <@region id="tree" scope="template"/>
            
     </div>
       </div>


Thanks Nike for answer
I will know that made correctly

johnny_k
Confirmed Champ
Confirmed Champ
Another question, how i can hide folder menu
and some part of document menu?

johnny_k
Confirmed Champ
Confirmed Champ
its okey iam found answer for my question
help this topic
https://forums.alfresco.com/forum/developer-discussions/alfresco-share-development/document-details-...

answer:

# cd /SVZ/private/402/opt/liferay/tomcat-7.0.42/webapps/share/WEB-INF/classes/alfresco/
# nano  share-documentlibrary-config.xml


Line 1310 <actionGroup id="folder-browse">
comment 1310-1354

<!–        
<actionGroup id="folder-browse">
            <action index="100" id="folder-download"/>
            <action index="105" id="folder-view-details" />
            <action index="110" id="document-edit-properties" icon="folder-edit-properties" label="actions.folder.edit-metadata" />
            <action index="120" id="document-approve" icon="folder-approve" />
            <action index="130" id="document-reject" icon="folder-reject" />
            <action index="140" id="document-locate" icon="document-locate" label="actions.folder.locate" />
            <action index="150" id="document-copy-to" icon="folder-copy-to" label="actions.folder.copy-to" />
            <action index="160" id="document-move-to" icon="folder-move-to" label="actions.folder.move-to" />
            <action index="170" id="folder-manage-rules" />
            <action index="180" id="document-delete" icon="folder-delete" label="actions.folder.delete" />
            <action index="190" id="document-manage-granular-permissions" icon="folder-manage-permissions" label="actions.folder.manage-permissions" />
            <action index="200" id="document-manage-repo-permissions" icon="folder-manage-permissions" label="actions.folder.manage-permissions" />
            <action index="210" id="document-manage-aspects" label="actions.folder.manage-aspects" />
            <action index="220" id="document-view-in-source-repository" label="actions.folder.view-source-repository" />
            <action index="310" id="document-view-googlemaps" />
            <action index="360" id="document-cloud-sync" />
            <action index="370" id="document-cloud-unsync" />
            <action index="380" id="document-view-in-cloud" />
            <action index="390" id="document-request-sync"/>
         </actionGroup>


         <actionGroup id="folder-details">
            <action index="100" id="folder-download"/>
            <action index="105" id="document-edit-metadata" icon="folder-edit-metadata" label="actions.folder.edit-metadata" />
            <action index="110" id="document-approve" icon="folder-approve" />
            <action index="120" id="document-reject" icon="folder-reject" />
            <action index="130" id="document-copy-to" icon="folder-copy-to" label="actions.folder.copy-to" />
            <action index="140" id="document-move-to" icon="folder-move-to" label="actions.folder.move-to" />
            <action index="150" id="folder-manage-rules" />
            <action index="160" id="document-delete" icon="folder-delete" label="actions.folder.delete" />
            <action index="170" id="document-manage-granular-permissions" icon="folder-manage-permissions" label="actions.folder.manage-permissions" />
            <action index="180" id="document-manage-repo-permissions" icon="folder-manage-permissions" label="actions.folder.manage-permissions" />
            <action index="190" id="document-manage-aspects" label="actions.folder.manage-aspects" />
            <action index="200" id="document-change-type" label="actions.folder.change-type" />
            <action index="210" id="view-in-explorer" />
            <action index="220" id="document-view-in-source-repository" label="actions.folder.view-source-repository" />
            <action index="350" id="document-view-googlemaps" />
            <action index="360" id="document-cloud-sync" />
            <action index="370" id="document-cloud-unsync" />
            <action index="380" id="document-view-in-cloud" />
            <action index="390" id="document-request-sync"/>
         </actionGroup>
–>