Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This is the disclaimer to show. It comes from the "systemRegion" value from the Pages table.
OptionTypeDefaultValuesPurpose
namestring

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.
session = once dismissed, the user will not see again until they log out and log back in.
page = Each time they reload the page, the disclaimer will appear again.

name
showstring"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.
for example. For vehicles, the value will be
.add-vehicle
and the disclaimer will only show if

Shortcode Example- [disclaimer name=vehicleDisclaimer dismiss=session show=".add-vehicle"]