Template Editor - Multiple component policies | Community
Skip to main content
Level 3
Jul 11, 2019 1:51 PM UTC
Solved

Template Editor - Multiple component policies

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+.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
mrobinson-1Accepted solution
Level 3
Jul 15, 2019 12:55 PM UTC

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.

4 replies

mrobinson-1AuthorAccepted solution
Level 3
Jul 15, 2019 12:55 PM UTC

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.

Translate
Jul 14, 2019 5:08 PM UTC

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

Translate
Level 3
Jul 12, 2019 3:50 PM UTC

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

Translate
arunpatidar
New Participant
Jul 11, 2019 7:21 PM UTC

Hi,

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

Translate
Arun Patidar