Odoo Help

Welcome!

This community 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.

1

website builder: Internet Explorer 8 Problem - respond.js as solution?

By
Tobias Frankl
on 5/10/14, 10:14 AM 24,089 views

 

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 5/10/14, 10:14 AM
Seen: 24089 times
Last updated: 3/16/15, 8:10 AM