Versions Compared

Key

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

...

Disclaimer Shortcode

This shortcode can be used anywhere on the site. It does not need to be initialized.  You simply need to add it to your template 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: 

OptionTypeDefaultValuesPurpose

dismiss

pricestringbooleantrueShows the price. Set to false/off/0 etc to turn off.
sold_outbooleanfalseIf true, it will include the lots that are sold out. They will have the warning background to highlight they are sold out.
remainingbooleanfalseIf true, it will show a column for how many remaining permits are in this lot.
typestring If a value is set, it will filter the list to only show this lot type. Blank or not set will show all"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.

namestring

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

Shortcode Example- [permitlots price=true remaining=true]

In the example above, this shortcode would display the price of the lots and the total number of remaining spaces in the lots list.

Image Removeddisclaimer name=vehicleDisclaimer dismiss=session]

Image Added