include_plate_scripts
Include certain predefined Javascripts into a website.
Input:
{% include_plate_scripts "example_script_1", "example_script_2" %}
Currently, the following scripts can be called using this tag:
Multiple scripts can be added to this tag by separating the different scripts with a comma.
In order to always use the latest version of the scripts, make sure to wrap the include in dynamic tag.
recaptcha_scripts
If you are using reCaptcha for your forms, you need to add {% include_plate_scripts "recaptcha_scripts" %}
somewhere on the page that has the form on it. The form will not be submitted if the scripts are not included on the page! You will receive the following JS error: executeRecaptcha is not defined
if it's not included.
determine_location
Makes function callable in the site’s Javascript to determine the location of the visitor of the site. Read more.