Skip to Content
Menu
This question has been flagged

hi

is someone know how adding a jquery script to odoo 11 ce? I find a script for age verification (https://github.com/stevemeisner/age-verification). I added those script in the /web/static/lib/ folder with other requirement. I linked the script in the HTML editor off odoo. I added code lines to the Web layout script, like this:

<link href="/web/static/lib/age/css/age-verification.css" rel="stylesheet"/>  

<script src="/web/static/lib/jquery/jquery.js"/>

<script src="/web/static/lib/jquery/jquery.cookie.min.js"/>

<script src="/web/static/lib/age/js/age-verification.js"/>

The script is supposing to work just like that, but nothing happend. I see those code lines in the view source of the page. The splash screen and the cooquie don't appear.

Or anybody can telling me other other tips for a manner to do or a script for age verification who work on odoo 11?

thanks

Avatar
Discard
Related Posts Replies Views Activity
1
Mar 15
3319
1
Jul 24
340
1
May 24
332
1
Jan 24
1665
1
Jun 23
1533