Template Editor - Multiple component policies

Avatar

Avatar

robinsonm

Avatar

robinsonm

robinsonm

11-07-2019

Is it possible within the Template Editor to have multiple layout containers, allowing for different component policies within those different containers?

Screenshot attached for clarity.

Specific example:

In the top container, I want to create a policy for the Title to only allow H1, H2.

In the bottom container, I want to create a policy for the Title to only allow H2+.

1789013_pastedImage_0.png

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

robinsonm

Avatar

robinsonm

robinsonm

15-07-2019

I figured it out. Just needed to create another responsivegrid node on the templates structure XML.

This will allow me to have the different Title component policies outlined in my original post, which would prevent the inadvertent application of multiple H1 tags on a page.

Answers (3)

Answers (3)

Avatar

Avatar

joeb21688728

Avatar

joeb21688728

joeb21688728

14-07-2019

That looks like bad practice. I have never seen or read about this approach from Adobe.

Avatar

Avatar

robinsonm

Avatar

robinsonm

robinsonm

12-07-2019

But how can I create the 2 different layout containers to create those different policies within?

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

11-07-2019

Hi,

I think it is possible, you just need to create and save different policies.