Skip to main content
Anderson_Hamer
Level 4
Jun 21, 2021 8:39 PM UTC
Solved

Best way to design header and footer in editable template?

 

I want to design a header and footer for an editable template,

Option 1 – Place whatever component is required for  header and footer in Initial content of editable template so that I will page created with this template will have the header and footer

Option 2 – Place header and footer components in experience fragment and use it in Initial content.

 

Which option is most recommended one in editable template ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Bhuwan_B
Bhuwan_BAccepted solution
Community Advisor
Jun 22, 2021 3:26 AM UTC

@anderson_hamer Please refer to below article, which talks about three different ways of implementing Header and Footer.

http://www.sgaemsolutions.com/2019/10/implementing-header-and-footer-with.html

 

5 replies

ibishika
Level 4
Jun 21, 2021 9:21 PM UTC

In most cases it's ideal to place header and footer in the template structure instead of initial content of the template as header and footer are present through out the site and the content is same in all pages.

Again, whether you keep it in structure/initial content, it's ideal to keep header and footer as experience fragments and then include the experience fragment into the template.

If you are keeping header footer in structure, you must keep them as experience fragments if you are planning to have language copies in your site.

Translate
BrianKasingli
Adobe Champion and Community Advisor
Adobe Champion and Community Advisor
Jun 22, 2021 2:31 AM UTC

Option 2 – Place header and footer components in experience fragment and use it in Initial content.

A recent implementation I've done is place the experience fragment into the editable template as a locked component. 

Translate
Shubham_borole
Community Advisor
Community Advisor
Jun 22, 2021 3:11 AM UTC

I understand neither is a permanent option. 

 

Traditional implementation will be usually header and footer components included in header and footer via base page editable template. But not as initial content,  that might not be ideal. Straight forward to follow.

 

Using XF can provide an advantage of using header/footer variations if any in different site templates

 

 

 

 

 

 

Translate
Bhuwan_B
Community Advisor
Bhuwan_BCommunity AdvisorAccepted solution
Community Advisor
Jun 22, 2021 3:26 AM UTC

@anderson_hamer Please refer to below article, which talks about three different ways of implementing Header and Footer.

http://www.sgaemsolutions.com/2019/10/implementing-header-and-footer-with.html

 

Translate
Level 2
Jun 22, 2021 9:47 AM UTC

In editable templates, best way would be using experience fragments

Translate