Editable Template | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

aanchal-sikka
Community Advisor
Community Advisor
November 9, 2023

@jakecham 

 

Are you looking to disabled Layout menu, to stop authors from resizing?

Need some help to understand the requirement.

Aanchal Sikka
JakeCham
JakeChamAuthor
Level 6
November 9, 2023

Hi @aanchal-sikka 

Layout container gives some additional elements which are hard to handle with UI. So Is there any way we can get rid of it  ?

aanchal-sikka
Community Advisor
Community Advisor
November 9, 2023

@jakecham 

 

First: Container is the component, which allows authors to add more components to the page by Drag-n-drop etc. 

If we take container out, we would have to pre-configure all components that a page can hold. Basically hard-code the structure

 

 

Second: The benefits that editable template provide like structure updates are auto-synced to pages, or author can resize components, will also be lost ...

 

In summary, we cannot get rid of it

Aanchal Sikka
EstebanBustamante
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
November 9, 2023

You just need to use the 'container' component, which is the recommended one (this inherits from the layout component). Usually, you should have your own container component extended from the core component. Then you can simply select the 'Simple' option from the layout options. Doing this at the template level will do the trick.

 

Learn more about the container component here: https://experienceleague.adobe.com/docs/experience-manager-core-components/using/wcm-components/container.html?lang=en 

 

Hope this helps

Esteban Bustamante