AnsweredAssumed Answered

4.0.C How to Custome Add Component Page in Share

Question asked by student on Feb 8, 2012
Latest reply on Feb 9, 2012 by student
I'm follow this page http://blogs.alfresco.com/wp/ddraper/2011/11/01/advanced-share-customization-part-1/,
My Problem is Completed Page:http://localhost:8080/share/page/home Redirect site-index.jsp.
I'm use 4.0.C Code.


source code:

1. Page definition file path:config/alfresco/site-data/pages/home.xml

<?xml version='1.0' encoding='UTF-8'?>
<page>
   <template-instance>home</template-instance>
   <authentication>user</authentication>
</page>


2.Template-Instance definition file path:config/alfresco/site-data/template-instance/home.xml

<?xml version='1.0' encoding='UTF-8'?>
<template-instance>
   <template-type>org/alfresco/home</template-type>
</template-instance>

3.FreeMarker template file path:config/alfresco/site-webscripts/components/home/home.ftl

<#include "/org/alfresco/include/alfresco-template.ftl" />
<html>
   <head>
      <title>Blog Application</title>
   </head>
   <body>
      Welcome To Extreme Share Customization!
   </body>
</html>

Please tell me what the problem? Thanks

Outcomes