i want to hide this template /conf/test-web/settings/wcm/templates/page-content
when i create any page don't want to show this template. how to hide.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @gmahendra !
There can be two cases for your scenario.
/conf/test-web/settings/wcm/templates/page-content.
It will exclude page-content template when we will try to create a page inside the content path.
Regards,
Shailesh
@gmahendra You can either disable the template or you can specify the cq:allowedPath property based on the requirement.
Regards,
Ayush
Hi @gmahendra !
There can be two cases for your scenario.
/conf/test-web/settings/wcm/templates/page-content.
It will exclude page-content template when we will try to create a page inside the content path.
Regards,
Shailesh
Hello @gmahendra,
Following are the ways you could potentially hide the template,
1. Of course you can "delete" the template.
2. If you do not want to delete, then you can disable it completely from the AEM Authoring instance. See screenshot 1 below.
3. Usually the templates are allowed using cq:allowedTemplates property on the content page. You could remove the templates name from that property. See screenshot 2.
screenshot 1
screenshot 2
thanks,
Preetpal
Tools > Templates > Select your template
Views
Likes
Replies
Views
Likes
Replies