Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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.

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

This function can be called in the site’s Javascript to determine the location of the visitor of the site. Read more.

  • No labels