Question

How can I limit what templates can be used to create child pages under a given page?

Answer, Resolution

Use cq:allowedTemplates property of jcr:content node of the page to specify the list of templates to be allowed as child pages. Each value in the list must be an absolute path to a template for an allowed child page, for example /apps/geometrixx/templates/contentpage.

You can use cq:allowedTemplates property on the template's jcr:content node to have this configuration applied to all newly created pages that use this template.

Applies to

CQ5.X

Ta zawartość jest licencjonowana na warunkach licencji Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Posty z serwisów Twitter™ i Facebook nie są objęte licencją Creative Commons.

Informacje prawne   |   Zasady prywatności online