Inheriting component to all child pages | Community
Skip to main content
Level 6
August 31, 2021
Solved

Inheriting component to all child pages

  • August 31, 2021
  • 3 replies
  • 1225 views

I have a component that i want to add in the JP/EN/HK/any language site and I want that to be present in all the child pages. How can I can do this? (I can't add it to the template).

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 Kiran_Vedantam

Hi @shaheena_sheikh,

 

For the component to be available in multiple languages and under all the child pages, you can use the concept of blueprint.

 

Add the component in the blueprint and create a site with that blueprint. But the ideal way would be to add it in the intial content in the template.

 

Hope this helps!

 

Thanks,

Kiran Vedantam.

3 replies

Kiran_Vedantam
Community Advisor
Kiran_VedantamCommunity AdvisorAccepted solution
Community Advisor
August 31, 2021

Hi @shaheena_sheikh,

 

For the component to be available in multiple languages and under all the child pages, you can use the concept of blueprint.

 

Add the component in the blueprint and create a site with that blueprint. But the ideal way would be to add it in the intial content in the template.

 

Hope this helps!

 

Thanks,

Kiran Vedantam.

Shashi_Mulugu
Community Advisor
Community Advisor
August 31, 2021

@shaheena_sheikh Any reasons behind not driving from template?

Level 6
September 1, 2021

all other ways seemed inefficient, so we are finally getting it from template!

Ritesh_Mittal
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
August 31, 2021

Hi @shaheena_sheikh ,

 

Why cant you use the template and add it over there. why do you have that restriction, that is one of the purpose of template.