跳至内容
菜单
此问题已终结
3 回复
2372 查看

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.

形象
丢弃

Please respect the forum guidelines and do not mix questions.

编写者 最佳答案

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?

形象
丢弃
最佳答案

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/

形象
丢弃
相关帖文 回复 查看 活动
0
8月 16
3607
0
9月 20
2804
0
9月 16
3434
1
12月 24
6044
3
8月 24
6896