İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
2375 Görünümler

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
Vazgeç

Please respect the forum guidelines and do not mix questions.

Üretici En İyi Yanıt

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Ağu 16
3611
0
Eyl 20
2805
0
Eyl 16
3435
1
Ara 24
6045
3
Ağu 24
6898