AnsweredAssumed Answered

creating custom page and template

Question asked by pchoe on May 3, 2012
Latest reply on May 23, 2012 by pchoe
I am trying to create a custom page/template to create new pages.

I created a folder in share:  Documents > Alfresco Quick Start >Quick Start Editorial > root >requestaccount

I set the Template Mapping to ws:indexPage=rqstacct

I than created rqstacct.xml file in my wcmqs webapp in the WEB-INF/pages:

<?xml version="1.0" encoding="UTF-8"?>
<page>
   <id>rqstacct</id>
   <description>Request User Accout</description>
   <template-instance>formblock</template-instance>
   <authentication>user</authentication>
   <components>
   </components>
</page>

I than created the formblock.xml and formblock.ftl in the WEB-INF/templates folder:
<?xml version="1.0" encoding="UTF-8"?>
<template-instance>
   <title>formblock</title> 
     <description>Template for basic form</description>
      <template-type>formblock</template-type>
   <components/>
</template-instance>
formblock.xml

test ftl
formblock.ftl

When I try to get to the page http://localhost:8080/wcmqs/requestaccount/ I get a 500 page error.

Is there a configuration I am missing to create a new custom page/template?

Peter Choe

Outcomes