This shortcode can be used anywhere on the site. It does not need to be initialized. You simply need to add it to your page to display it.
Disclaimers are modal windows that are shown upon landing on a particular page. If the user cancels out, they are redirected to the root ( / ) page. They show information about what the user is agreeing to in order to continue.
The available options are:
Option | Type | Default | Values | Purpose |
name | string | This is the disclaimer to show. It comes from the "systemRegion" value from the Pages table. | ||
dismiss | string | "session" | session, page | How long to dismiss the disclaimer. |
show | string | "onload" | onload, {selector} | onload is by default. Selector is used when the intention is the disclaimer only shows when clicking on the item defined by selector. |
Vehicle Disclaimer
Shortcode Example- [disclaimer name=vehicleDisclaimer dismiss=session show=".add-vehicle"]
In this example the disclaimer will show once per session and only when you click the "Add a Vehicle" button. An example is show below.
To update the text for the disclaimer, hover over System Config, and click System Messaging. Click the "Edit" button beside Vehicle Disclaimer. Update your text and click "Save Messaging".
Locker Disclaimer
Shortcode Example- [disclaimer name=lockersDisclaimer dismiss=never]
In this example the disclaimer will show everytime a user comes to the Locker page. An example is show below.