cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco share new page development

pragashonlink
Champ in-the-making
Champ in-the-making
I had been trying to add a new page to the Alfresco Share UI. But, I never managed to get this working because when ever I deploy the code as a .jar file and restart alfresco I don't see the required content. This sample is given in the Alfresco official docs. Can anybody help identify what I'm doing wrong here. The code I created is attached here.



<strong>alfresco/site-data/pages/home-page.xml</strong>

<page>    <template-instance>home-page</template-instance>    <authentication>user</authentication></page>‍‍‍‍‍‍


<strong>alfresco/site-data/template-instances/home-page.xml</strong>

<template-instance>    <template-type>blog/demo/home-page</template-type></template-instance>‍‍‍‍‍



<strong>alfresco/templates/blog/demo/home-page.ftl</strong>

<html>    <head>        <title>Blog Application</title>    </head>    <body>        Welcome To Extreme Share Customization!    </body></html>‍‍‍‍‍‍‍‍‍‍
2 REPLIES 2

niketapatel
Star Contributor
Star Contributor
Can you please define location of your custom jar, where you are loading it?

Other approach you can try is - Put your custom files in web-extension as mentioned here - http://wiki.alfresco.com/wiki/Share_Custom_Pages

ddraper
World-Class Innovator
World-Class Innovator
The code snippets you've included to look right, I can only agree with Niketa that maybe you've placed the JAR file in a location that is not being picked up by Surf.