Same header across all pages in website
Hi
I am quite new in AEM.
Have one usecase : In my project, i have to create 40 templates , 400 pages of the website, and i want to have same header on all pages. how is this possible ?
Approach 1 : I created one base component (sling : resourcesupertype is foundation/component/page) - base which includes base.jsp and header.jsp
Header.jsp consists of all HTML structure required for header.
Base.jsp includes header.jsp using cq:include
Then created base template that points to base component.
then created a basepage using base template, it successfully includes header.
Now want this header in other pages as well.
Created ABC component with sling : resourceSuperType - basecomponent
created ABC template refers to ABC component.
created ABCPage using ABC template.
But it doesn't display header.
please tell me what i am missing. Have used this approach by seeing geometrix project.
Approach 2 : in 1st approach, have done through by creating header.jsp, but now want to do it by creating header component.
and want to include header component on every page. i guess that can be done through iparsys. let me know how's that possible.
