Installation / Integration

Documentation has move here

Step 1: Copy file into hooks-directory

Copy the purchased and downloaded script file into the hooks-directory of your website.

hooks/AppGiniHelper.min.js


Step 2: Include script

Open hooks/header-extras.php in your editor and Include the script with the following line of code:

<script src="hooks/AppGiniHelper.min.js"></script>

Tips

Custom pages

If you are creating custom pages (see here), you may be facing the problem that referencing the library works for all pages but custom pages within hooks-directory.

In these cases you should change the reference to this:

<script src="<?=PREPEND_PATH?>hooks/AppGiniHelper.min.js"></script>

Alternatively, you can reference a fully qualified url (address):

<script src="http://localhost/PATH/TO/YOUR/APP/hooks/AppGiniHelper.min.js"></script>

But keep in mind that you will have to change the src-address when copying or moving your application to a different location. If, for example, you upload your app to a server called example.com, you will have to change src to something like this:

<script src="http://www.example.com/myApp/hooks/AppGiniHelper.min.js"></script>

Do you like it?