-Ahora vamos a ocultar el link para sitios.La plantilla a modificar en este caso será userprofiletoolbar.get.html.ftl en la ruta==>C:\...\tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\profile
de la siguiente forma:
<#assign activePage = page.url.templateArgs.pageid?lower_case!"">
<div id="${args.htmlid}-body" class="toolbar userprofile">
<div class="link"><a href="profile" <#if activePage=="profile">class="activePage theme-color-4"</#if>>${msg("link.info")}</a></div>
<div class="separator"> </div>
<!--<div class="link"><a href="user-sites" <#if activePage=="user-sites">class="activePage theme-color-4"</#if>>${msg("link.sites")}</a></div>-->
<!--<div class="separator"> </div>-->
<div class="link"><a href="user-content" <#if activePage=="user-content">class="activePage theme-color-4"</#if>>${msg("link.content")}</a></div>
<#if (activeUserProfile && user.capabilities.isMutable)>
<div class="separator"> </div>
<div class="link"><a href="change-password" <#if activePage=="change-password">class="activePage theme-color-4"</#if>>${msg("link.changepassword")}</a></div>
</#if>
</div>
No hay comentarios:
Publicar un comentario