How to inherit the design from one template into another template | Community
Skip to main content
New Participant
November 17, 2015
Solved

How to inherit the design from one template into another template

  • November 17, 2015
  • 1 reply
  • 980 views

Hi,

We have a requirement where we want to inherit the existing design from one template to another. For example I have a Template A for which I created a design and associated that page with this design (by going into Page properties and setting the design). Now I create a new page Template say Template B where I give resourceSuperType  as Template A page component path in the component properties.

Now when we created a new page using Template B, the list of component defined in Template A design won't appear in sidekick whereas If the template definition exist under etc\design\default\TemplateA\jcr:content\par it worked.

The purpose for this is to define the list of components in single design at parentBase Template (like wise Template A)  so that it can be used across multiple sites \ brands.

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.
Best answer by Lokesh_Shivalingaiah

Ideally, the design for the components should be included in the respective components itself. Only the page level design should be set in page properties. In that way your use case would work seamlessly.

1 reply

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
New Participant
November 18, 2015

Ideally, the design for the components should be included in the respective components itself. Only the page level design should be set in page properties. In that way your use case would work seamlessly.