...
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:
Option | Type | Default | Values | Purpose | |
dismiss | pricestring | boolean | true | Shows the price. Set to false/off/0 etc to turn off. | |
sold_out | boolean | false | If true, it will include the lots that are sold out. They will have the warning background to highlight they are sold out. | ||
remaining | boolean | false | If true, it will show a column for how many remaining permits are in this lot. | ||
type | string | 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. | |
name | string | 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.
disclaimer name=vehicleDisclaimer dismiss=session]