Feedback and Share
This page will demonstrate how to enable/disable the Feedback Link, as well as how to use the feature to share the current page with some pre-defined Social Media applications.
Feedback
Specify the "Report a problem or mistake on this page" button of your page. By default this button is shown with the default Canada.ca URL. You can customize the URL or simply hide the button.
Implementation
This link can be customized in the preFooter section of your page.
Hide the button
defPreFooter.outerHTML = wet.builder.preFooter({ ... "showFeedback": false ... });
Customize the URL
defPreFooter.outerHTML = wet.builder.preFooter({ ... "showFeedback": "Custom URL here" ... });
Share
The "Share This Page" button is a way for the users to share the URL of the site via Social Media. By default this button is shown with the default selection of social media sites. You can customize this selection or simply hide the button.
Implementation
This button can be customized in the preFooter section of your page.
Hide the button
defPreFooter.outerHTML = wet.builder.preFooter({ ... "showShare": false ... });
Choose which social media sites you would like to show as options to the user.
defPreFooter.outerHTML = wet.builder.preFooter({ ... "showShare": ["email", "facebook", "linkedin", "twitter"] ... });