cancel
Showing results for 
Search instead for 
Did you mean: 

[share]Undisplay 'Customize Dashboard' button excluding admin user

junminya
Champ on-the-rise
Champ on-the-rise
Hi,

We're using Alfresco Community edition 4.2.

Can I undisplay "Customize Dashboard" button in my dashboard excluding admin user ?

by share-config-custom or *.ftl etc

It's the best way we can undisplay by only modify share-config-custom.
2 REPLIES 2

niketapatel
Star Contributor
Star Contributor
Hi Junminya,

You will have to do it by webscript FTL .You can not do it by share-config-custom as "Customize Dashboard" link is not configured in share-config file, else you could have done by adding "condition" in link.

You need to extend/modify - user-dashboard-title.get.html.ftl

<javascript>
<#if user.isAdmin >
            <a href="${url.context}/page/customise-user-dashboard" ${linkClass}>${msg("link.customiseDashboard")}</a>
</#if>
</javascript>

thank you, we decide to modify ftl file.
We are now developing business system by alfresco share, so we have to decrease impact for alfresco version up.
So we dont want to modify ftl ..