Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
2371 Widoki

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.

Awatar
Odrzuć

Please respect the forum guidelines and do not mix questions.

Autor Najlepsza odpowiedź

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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/

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sie 16
3602
0
wrz 20
2803
0
wrz 16
3434
1
gru 24
6044
3
sie 24
6894