<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How-To to hide 'new folder' button in the repository toolbar in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-to-hide-new-folder-button-in-the-repository-toolbar/m-p/272895#M226025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;How-To to hide "new folder" button in the repository toolbar for non admins&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Edit "..\tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\documentlibrary\include\toolbar.lib.ftl" file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Replace "&lt;/SPAN&gt;&lt;EM&gt;&amp;lt;div class="new-folder"&amp;gt;&lt;/EM&gt;&lt;SPAN&gt;" with "&lt;/SPAN&gt;&lt;EM&gt;&amp;lt;div class="new-folder" &amp;lt;#if !user.isAdmin&amp;gt;style="display: none"&amp;lt;/#if&amp;gt;&amp;gt;&lt;/EM&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Restart Tomcat&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can apply this solution to other buttons in the toolbar like "Upload" or "Create content".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope it helps…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2012 22:35:04 GMT</pubDate>
    <dc:creator>rramirezg</dc:creator>
    <dc:date>2012-05-15T22:35:04Z</dc:date>
    <item>
      <title>How-To to hide 'new folder' button in the repository toolbar</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-to-hide-new-folder-button-in-the-repository-toolbar/m-p/272895#M226025</link>
      <description>How-To to hide "new folder" button in the repository toolbar for non admins1) Edit "..\tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\documentlibrary\include\toolbar.lib.ftl" file.2) Replace "&amp;lt;div class="new-folder"&amp;gt;" with "&amp;lt;div class="new-folder" &amp;lt;</description>
      <pubDate>Tue, 15 May 2012 22:35:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-to-hide-new-folder-button-in-the-repository-toolbar/m-p/272895#M226025</guid>
      <dc:creator>rramirezg</dc:creator>
      <dc:date>2012-05-15T22:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: How-To to hide 'new folder' button in the repository toolbar</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-to-hide-new-folder-button-in-the-repository-toolbar/m-p/272896#M226026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi rramirezg,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should not change original alfresco files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead, use the override method - copy template file to extension folder and modify it there. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Check &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=5&amp;amp;t=43249" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=5&amp;amp;t=43249&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Blaž&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 09:07:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-to-hide-new-folder-button-in-the-repository-toolbar/m-p/272896#M226026</guid>
      <dc:creator>hunjet</dc:creator>
      <dc:date>2012-05-16T09:07:35Z</dc:date>
    </item>
  </channel>
</rss>

