Creating custom template for teaser pages
When authors create Teaser Pages, by default they are set to use the default design. I'd like them to use the design I've specified for my code base, so I tried creating a new template to specify a resource type of the built-in teaserpage, but a design path for my project. As far as I can tell, this XML replicates the structure of /libs/cq/personalization/templates/teaser, but my new template is not showing up in the list of templates when I try to create a Teaser/Offer page under a Campaign.
Is this intended behavior?
<?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="cq:Template" jcr:title="Project Teaser Page" ranking="{Long}1000" jcr:description="Project sites should use this instead of the built-in Offer Page" allowedParents="[/libs/cq/personalization/templates/campaign,/libs/cq/personalization/templates/experience,/libs/cq/personalization/templates/offerlibrary]"> <jcr:content jcr:primaryType="cq:PageContent" sling:resourceType="cq/personalization/templates/teaserpage" cq:designPath="/etc/designs/client/project"/> </jcr:root>Thanks