Child Layout Container inside Parent Container Issue | Community
Skip to main content
Level 3
August 17, 2022
Solved

Child Layout Container inside Parent Container Issue

  • August 17, 2022
  • 3 replies
  • 873 views
Hi All, In editable templates we have a Container and inside a Container we have a Column Control Component. The Column Control Component divides the container based on Bootstrap and creates two child Layout Containers on the basis of two column layout. =========================================
======================== Now on the left container which is a left side container we have added one component in policies and want to keep it at Structure level (Navigation) and dont want the user to edit it at page Level.So we are locking the left container. Right Container it should be able to edit the components and can add any component on right side and edit it.So we are unlocking the right container. Issue is when we are unlocking the Parent Container and locking the child left container .Still we are able to edit the left container and make the changes. Any idea how we can achieve it to lock the left container or any other solutions for this.
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 Sachin_Arora_

Can you please check if the left-container is getting created inside the initial of the template(templates/template-name/initial/jcr:content/root/container/left-container). If that is the case, you can remove it from initial page of the template. This will lock left-container and wont allow editing once page is created.

3 replies

kautuk_sahni
Community Manager
Community Manager
August 22, 2022
Kautuk Sahni
arunpatidar
Community Advisor
Community Advisor
August 22, 2022

Hi,

Can you share the package we can try?

The issue could be the the left and right container are sharing the same policy.

 

Try creating 2 more components responsive-left and responsive-right as proxy of responsivegrid and set policy with those 2 new components.

Arun Patidar
Sachin_Arora_
Community Advisor
Sachin_Arora_Community AdvisorAccepted solution
Community Advisor
August 22, 2022

Can you please check if the left-container is getting created inside the initial of the template(templates/template-name/initial/jcr:content/root/container/left-container). If that is the case, you can remove it from initial page of the template. This will lock left-container and wont allow editing once page is created.