Hi,
I execute maven command for creating proejct so automatically all the project structure is created and under tools >templates><projectname> folder is created then under this folder click on create template then show template types <yourproject>empty page template is shown for creating then all the customization we can done with this templates and create many templatees as we need choosing this template type. then what is the use of tools>general>configuration browser for creating editable templates ?
plzz help me
thanks in advance
Solved! Go to Solution.
So you want to create site using custom template then you need to explicitly add allowedPath property in your template. or you can directly create site without using template from CRXDE and add cq:allowedtemplate
you can refer we-retail for reference
/content/we-retail/jcr:content
/content/we-retail/language-masters/jcr:content
Hi The option tools->general->Configuration is not only to create templates but also other things like CF.
The maven did the same thing via command, it created your project configuration for template under /conf/
Maven makes your job easy by giving you the basic structure which is needed to start with your project. But always if additional configurations are need you have to still do it manually under the configurations.
thanks arun but when i create editable template from configuration browser and enable the template but if like i click on create page under site console then this created template are not shown
Views
Replies
Total Likes
You need to allowed your custom templates in your site root page from page properties -> advanced.
You can see available templates from CRXDE , there will be a property called cq:allowedTemplates which restrict use of templates.
Views
Replies
Total Likes
ok i understand that but normally if i not execute the maven command and direct i want to create page from my configuration browser template and there is no default page available for going to page properties then how to use this template?
You can use any template inside any site if you specified as cq:allowedTemplates
Views
Replies
Total Likes
ok so where i mention this property if i have not any page
Views
Replies
Total Likes
So you want to create site using custom template then you need to explicitly add allowedPath property in your template. or you can directly create site without using template from CRXDE and add cq:allowedtemplate
you can refer we-retail for reference
/content/we-retail/jcr:content
/content/we-retail/language-masters/jcr:content
i created my site manually in crxde so conclusion is when we create editable template from configuration browser if we want to use this perticular template in all our site for creating page so we have to create site manually from crxde for using this template thank you so much for help .
Views
Replies
Total Likes
Views
Likes
Replies