Custom Footer
When using the application template, you have the ability to add a customized footer that will contain links of your choosing.
Implementation
Customization of the footer is done through the footerSections
parameter in the appFooter
section of your page.
"href"
: the url of the link"text"
: the text of the link that is displayed"newWindow"
: Optional: set to true if you would like the link to open in a new window
defFooter.outerHTML = wet.builder.appFooter({ ... "footerSections": [{ "href": "#", "text": "Portal footer link 1", "newWindow": true }, { "href": "#", "text": "Portal footer link 2" }, { "href": "#", "text": "Portal footer link 3" }] ... });
You also have the ability to organize the links into sections. The title of the sections can be set through the sectionName
parameter. When creating sections, the links are added through the customFooterLinks
parameter.
defFooter.outerHTML = wet.builder.appFooter({ ... "footerSections":[{ "sectionName":"Custom Section 1", "customFooterLinks":[{ "href":"#", "text":"link1-1-new Window", "newWindow":true }] }, { "sectionName":"Custom Section 2", "customFooterLinks":[{ "href":"#", "text":"link2-1-new Window", "newWindow":true }] }, { "sectionName":"Custom Section 3", "customFooterLinks":[{ "href":"#", "text":"link3-1-new Window", "newWindow":true }] }] ... });