For Gnosis clients with a separate Gnosis Portal Website.
You may add a button or link on any or all pages of your main site to have visitors register themselves in your Gnosis database. To do this, have your web developer customize and add this code below to your main website.
This will cause a dialog window to open on the page you are currently on that accepts the person’s name and email address and adds it to your database. When complete, the person will be left on the page they were originally viewing.
Elements below that can or must be customized are colored red.
Firstly, add to the page the element that will invoke the registration dialog.
<!-- Add to the page the element that will invoke the registration dialog, can be div, button, link etc.-->
Next, somewhere below the above element, add the code to support the registration function.
<!-- JQuery Required if not already available on the page. -->
<!-- Load gnosisRemote from your gnosis site. Must have ‘gnosisRemote’ as the script id. -->
//Set your document.domain to your sites domain name
document.domain = 'example.com'
//Initialize gnosisRemote in ‘no bootstrap’ mode (for bootstrap mode, set param to true)
var gnosisRemote = gnosisRemoteLoader(false)