difference in Editable template created from maven and configuration browser | Community
Skip to main content
Level 2
Dec 18, 2018 7:36 AM UTC
Solved

difference in Editable template created from maven and configuration browser

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Dec 18, 2018 2:07 PM UTC

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

Arun Patidar

9 replies

Level 2
Dec 19, 2018 6:50 AM UTC

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 .

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
Dec 18, 2018 2:07 PM UTC

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

Translate
Arun Patidar
Level 2
Dec 18, 2018 1:58 PM UTC

ok so where i mention this property if i have not any page

Translate
arunpatidar
New Participant
Dec 18, 2018 1:53 PM UTC

You can use any template inside any site if you specified as cq:allowedTemplates

Templates

Translate
Arun Patidar
Level 2
Dec 18, 2018 1:28 PM UTC

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?

Translate
arunpatidar
New Participant
Dec 18, 2018 1:19 PM UTC

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.

Translate
Arun Patidar
Level 2
Dec 18, 2018 1:14 PM UTC

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

Translate
VeenaVikraman
New Participant
Dec 18, 2018 1:01 PM UTC

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.

Translate
arunpatidar
New Participant
Dec 18, 2018 12:40 PM UTC

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/

Translate
Arun Patidar