Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
7534 Lượt xem

Where does odoo website module save content? Like menus, banner images and other text and html?

I actually want to see where menus of mega-menu store in database (table name) how they render on the website. Observing this I want to add some html while rendering those menu items. 


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello Zahid,

I believe that the data is stored as views (QWeb) based on this video here:

https://www.youtube.com/watch?v=Xh3iCzLAH30

To view these you can go to Settings->Technical->Views and then type in the view name eg: Contact Us. You need to be in debug mode to access the technical settings. From here an example would be to search "Footer" and you will see the QWeb code for the footer of all pages. 

You can also look at the QWeb code by clicking on Customize->HTML/CSS/JS Editor while in on a website page. From here you can see the code for the view you are currently on. Using the drop-down you can select other views which are related. 

I hope this helps.

Thanks,

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 22
6671
0
thg 3 24
1737
0
thg 2 21
4371
1
thg 3 25
16894
1
thg 7 25
696