How to extend alfresco-template.ftl

Showing results for 
Search instead for 
Did you mean: 
Active Member

How to extend alfresco-template.ftl

I need to add SiteAdmin authentication and hence need to extend the alfresco-template.ftl file. It is present in target/share-war/WEB-INF/classes/alfresco/templates/org/alfresco/include/alfresco-template.ftl . How to extend it. Below is the code snip where I want to add authentication for site-admin. 

<#if page?? && (page.authentication="user" || page.authentication="admin")>
url: Alfresco.constants.URL_CONTEXT + "service/modules/authenticated?noCache=" + new Date().getTime() + "&a=${page.authentication?html}"

1 Reply
Senior Member II

Re: How to extend alfresco-template.ftl

You can try extension module to override existing resources.






Thanks & Regards,