Best approach to design Header using XF and core Navigation Components
Requirement is like this:
Have Site A, Site B, Site C and Site D. All sites are built using same parent editable template.
These sites share a Header of similar structure but the navigation of header is depend of site specific pages.
Have configured Core navigation component in XF and that XP is placed in template structure.
As the pages of these sites may differ and they share same template ,the core navigation logic would not work. what would be the best approach to get site specific navigation links ?
Approach 1 - Have separate templates for all sites
Approach 2 - Remove the "navigationRoot" from core navigation component dialog and customize that logic to fetch root path of site using custom model and "getAbsoluteParent" - by sling delegacy pattern .
What would be best or any other efficient methods ?