Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I was trying to add to my Odoo website a cookie bar (according to EU law). I wanted to use one from http://www.primebox.co.uk/projects/jquery-cookiebar/ but unfortunately it doesn't work. I've edited <head> section as mentioned in Installing part.
Does anyone have information how can I enable this?
Also I wanted to make similar thing but with information about old webbrowser (I saw that Odoo needs a new ones to display website properly).
Not sure if you still have this issue, since it's been a while since you asked this question. But I was facing the same problem as you are and finally found out how to implement the cookiewarning in my website.
Basically what you want to do is write a template that inherits from website.layout. Write an xpath expression here with attribute expr="//head" and position="inside", in this xpath, just place your css, js and the document.reay function.
So your template should look something like this:
Please upvote the answer if this helped you (:
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/2/14, 1:06 PM|
|Seen: 2863 times|
|Last updated: 5/11/15, 8:18 AM|