Table of Contents
This section describes the logic flows for the plugin events. There is only one Joomla event used by the plugin, which is the onAfterRender event.
-
If this is the back end or Joomla Debug is on, then return
-
If not being displayed for Private IP address then return.
-
Get specified colours and ensure they are valid.
-
Check if a cookie exists and has been accepted. If so return.
-
Build the cookie HTML code based on specified settings.
-
Check if the cookie exist.
-
If cookie not set then enter HTML in header and return.