Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Template Editor - Multiple component policies

Avatar

Level 3

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

1 Accepted Solution

Avatar

Correct answer by
Level 3

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.

View solution in original post

4 Replies

Avatar

Community Advisor

Hi,

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

Avatar

Level 3

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

Avatar

Level 4

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

Avatar

Correct answer by
Level 3

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.