Child Layout Container inside Parent Container Issue | Community
Skip to main content
Level 3
Aug 17, 2022 7:45 AM UTC
Solved

Child Layout Container inside Parent Container Issue

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.
Sachin_Arora_
Sachin_Arora_Accepted solution
New Participant
Aug 22, 2022 2:02 PM UTC

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

Sachin_Arora_
Sachin_Arora_Accepted solution
New Participant
Aug 22, 2022 2:02 PM UTC

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.

Translate
arunpatidar
New Participant
Aug 22, 2022 12:48 PM UTC

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.

Translate
Arun Patidar
kautuk_sahni
Employee
Aug 22, 2022 10:47 AM UTC

@arunpatidar @sachin_arora_ @debal_das Any help here?

Translate
Kautuk Sahni