Here is a patch to get a simple age-verification working.
Is there a better way, a more correct way, easier way?
If so, please share. ;)
I added the age verification and cookie scripts just before the closing body tag of:
includes/templates/westminster_new/common/tpl_main_page
Inside the age-verification.js file I added location.reload(); after the $(window).off('resize');
(I found out the slimMenu worked after a refresh on accident)
Hope this helps others or inspires others to find/post a better way.
Age Verification JS / Cookie Script
https://github.com/Herudea/age-verification
Bookmarks