As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<alfresco-config> <!– Repository Library config section –> <config evaluator="string-compare" condition="RepositoryLibrary"> <!– Whether the link to the Repository Library appears in the header component or not. –> <visible>false</visible> </config> </alfresco-config>
<!– Repository Library config section –> <config evaluator="string-compare" condition="RepositoryLibrary" replace="true"> <!– Whether the link to the Repository Library appears in the header component or not. –> <visible>true</visible>
<#if user.isAdmin> <#if repoLibraryVisible> <span class="menu-item-icon repository"><a href="${url.context}/page/repository">${msg("link.repository")}</a></span> </#if> </#if>
In 3.4 you can simply add permission="admin" to the header item via custom config.Thanks,Mike
Hi Mike,Can you provide more details on this please?Thanks
I guess the <header> tags in "share-config.xml" only appear in the 3.4.c version. There are no header tags in my 3.3 version. Is there a way to add a whole "header" section and make it work like in 3.4.c?
<item type="link" id="repository" condition="conditionRepositoryRootNode" permission="admin">/repository</item>
<item type="link" id="repository" condition="conditionRepositoryRootNode" permission="admin">/repository</item>
sudo nano /opt/alfresco-4.2.e/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml
<!– Whether the link to the Repository Library appears in the header component or not.–> <visible>true</visible>
permission="admin"
<visible>true permission="admin"</visible>