Expand my Community achievements bar.

SOLVED

Child Layout Container inside Parent Container Issue

Avatar

Level 3
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.
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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.

View solution in original post

3 Replies

Avatar

Community Advisor

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

Avatar

Correct answer by
Community Advisor

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.