How to Disable Layout for Certain Components

Avatar

Avatar

cmrockwe

Avatar

cmrockwe

cmrockwe

05-09-2019

Hi Adobe Experience Manager

Our sites use AEM 6.4 with Layout Container and the Layout authoring mode. It works well enough in most cases.

The doc used to configure Layouting is below...

Configuring Layout Container and Layout Mode

Is there some kind of component cq:editConfig (or something??) where layout could be configured at the component level?

AEM Components - The Basics

Replies

Avatar

Avatar

cmrockwe

Avatar

cmrockwe

cmrockwe

06-09-2019

Specifically, I want to disable component resize for certain components which look bad when squished using Layout. These are components with more complicated html and already have a  responsive design strategy. Ideally there could be a property in cq:editConfig such as cq:layout = nolayouting

Avatar

Avatar

santhoshv

Avatar

santhoshv

santhoshv

21-07-2020

Hi @cmrockwe 

Did you find correct solution for this issue..? if so, please let me know. I have exact requirement.

 

Regards,

Santhosh

Avatar

Avatar

cmrockwe

Avatar

cmrockwe

cmrockwe

21-07-2020

Nope. Never figured out how to do that. One work around is to design templates using a combination of parsys and responsivegrid containers. The parsys policy would allow components that don't support Layout.