Support multiple header and footer as an experiance fragment in a single editor template | Community
Skip to main content
Level 2
December 19, 2023
Solved

Support multiple header and footer as an experiance fragment in a single editor template

  • December 19, 2023
  • 1 reply
  • 673 views

Hello , 

I want to create multiple headers and footers for a single editable template (configurable from page properties based on dropdown)

something like this  (but this doesnt work)

<experiencefragmentfooter
jcr:primaryType="nt:unstructured"
sling:resourceType="myproject/components/experiencefragment"
variationPath="/content/experience-fragments/myproject/en/footer/${inheritedPageProperties.variationName}"/>

 

is it possible to implement multiple headers as an experiance fragment for a single template? And if yes what is the best solution for this

 

P.S  i dont want to create multiple templates for each header and footer i want is make  it configurable

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
December 19, 2023