Customizing the Header and Footer
Customize the default B2C Accelerator header and footers supplied with the accelerator template to suit your needs.
Context
Variables:
| Variable Name | Description | Value |
|---|---|---|
|
<${addOnName}> |
The name of the AddOn |
b2ctelcostorefront |
|
<${addOnPageRoot}> |
The location where custom page fragments must go |
b2ctelcostorefront/acceleratoraddon/web/webroot/WEB-INF |
Available template files:
| File Name | Source Path | Target Path |
|---|---|---|
|
Layout |
/yacceleratorstorefront/web/webroot/WEB-INF/views/desktop/pages/layout/contentLayout1Page.jsp |
<${addOnPageRoot}>/views/desktop/pages/layout/myNewLayoutPage.jsp |
|
Page Template |
/yacceleratorstorefront/web/webroot/WEB-INF/tags/desktop/template/page.tag |
<${addOnPageRoot}>/tags/desktop/template/page.tag |
|
Header |
/yacceleratorstorefront/web/webroot/WEB-INF/tags/desktop/common/header/header.tag |
<${addOnPageRoot}>/tags/desktop/common/header/header.tag |
|
Footer |
/yacceleratorstorefront/web/webroot/WEB-INF/tags/desktop/common/footer/footer.tag |
<${addOnPageRoot}>/tags/desktop/common/footer/footer.tag |
Procedure
Create Custom JSP Files
Change the Header
Change the Footer