Skip to Content
Menu
This question has been flagged

 

Is it possible to change browser recognition by the generated website. We have a problem with one customer who uses Internet Explorer 8 and sees our homepage in a cellphone-like layout on the desktop computers.

Actually, the odoo.com webpage has the same problem.

Edit:

After some research I think that the integration of the java script respond.js could solve the problem. but i am not sure where to integrate it into the odoo generated website.

Respond.js is found here: https://github.com/scottjehl/Respond -the script was copied and put into addons/website/static/src/js/respond.js - right?

Is addons/website/views/website_templates.xml the right place to insert the link to the script?

<script type="text/javascript" src="/web/static/src/js/watch.js"/>

<script type="text/javascript" src="/website/static/src/js/website.js"/>

<script type="text/javascript" src="/website/static/src/js/respond.js"/>

<script type="text/javascript" src="/website/static/src/js/website.snippets.animation.js"/>

<script type="text/javascript" src="/web/static/lib/bootstrap/js/bootstrap.js"/>

Server Restart.

Nothing changed - what more to do to set it active? Do I have to call the script somewhere? 

Thanks in advance. A little push could help me a lot. Tobi

Avatar
Discard
Related Posts Replies Views Activity
0
Mar 15
3141
1
Jun 24
3854
1
Dec 22
18140
2
Mar 22
9460
1
Apr 21
4552