AnsweredAssumed Answered

How-To to hide 'new folder' button in the repository toolbar

Question asked by rramirezg on May 15, 2012
Latest reply on May 16, 2012 by hunjet
How-To to hide "new folder" button in the repository toolbar for non admins

1) Edit "..\tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\documentlibrary\include\toolbar.lib.ftl" file.

2) Replace "<div class="new-folder">" with "<div class="new-folder" <#if !user.isAdmin>style="display: none"</#if>>"

3) Restart Tomcat

You can apply this solution to other buttons in the toolbar like "Upload" or "Create content".

Hope it helps…

Outcomes