HTML CODE EXAMPLE
This code will load the VocalEyes Widget.
This is meant as an example of how the code maybe used to embed the VocalEyes Widget to a page on a CMS.
The htmlcode maybe downloaded here: htmlcode.zip
INSTALLATION
1. Download htmlcode.zip and unzip.
2. If you are creating the Widget in a CMS install JavaScript plugin to allow your CMS page to parse JavaScript to the browser.
3. Copy and paste the code to your page editor.
4. Set up variable $username according to your system
For example
GLOBAL $USER;
$username = $USER->username;
5. Set up variable $widgetcode by replacing WXXXX with your VocalEyes Widget Code.
PLEASE NOTE
In order to control access to the correct VocalEyes Group you must control user access permission to the page.
i.e. Only Staff should have access to the page where the VocalEyes Widget Code for the Staff Group in present.