Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
2373 Vistas

Hi Community,
im new with Odoo and i have some questions about building my own Theme.

Before i build a basic Theme like in the tutorial discribed.

My questions:
1. How can i overwrite the logo-template?
2. How can in overwrite or clear the assets (CSS/less/Js) to set my own css/less/js?
    I dount want just to add some styles.

3. What did i have to do to overwirte existing "snippets" (HTML and options)?
4. Where can i find a list of all existing FE-Templates, which are overwriteable?
5. What did i have to do to set anchor-Links or Links to a lightbox in the main-navigation

In advance i thank you for thinking of my Problems and helping me to understand Odoo a little more.

Avatar
Descartar

Please respect the forum guidelines and do not mix questions.

Autor Mejor respuesta

Thx for the links.

The secound tutorial describes how to add new styles to the backend, but not how to replace the default odoo-files in front-end.
Im able to add styles, but i dount know how to replace the default bootstrap-files bei my own bootstrap-files.
maybe you can help me another time?

Avatar
Descartar
Mejor respuesta

General answer to "overwrite" theme related objects: the term of choice in Odoo is "inheritance". Please make yourself familiar with this concept. This blog post should give you a good reading about: http://bloopark.de/en_US/blog/the-bloopark-times-english-2/post/inheritance-behavior-for-nested-templates-in-odoo-v8-112#blog_content

About adding static resources you may want to study Yenthe's tutorial: http://www.odoo.yenthevg.com/adding-static-resources-css-and-javascript-to-odoo/

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
ago 16
3611
0
sept 20
2805
0
sept 16
3435
1
dic 24
6045
3
ago 24
6898