difference in Editable template created from maven and configuration browser

pranjalk4508722

17-12-2018

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

Accepted Solutions (1)

Accepted Solutions (1)

Arun_Patidar

MVP

18-12-2018

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

Answers (8)

Answers (8)

pranjalk4508722

18-12-2018

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?

Veena_Vikram

MVP

18-12-2018

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.

Arun_Patidar

MVP

18-12-2018

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/

pranjalk4508722

18-12-2018

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 .

Arun_Patidar

MVP

18-12-2018

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.

pranjalk4508722

18-12-2018

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