تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
200 أدوات العرض

V18
Hi,
plz help me embed html, css, js in odoo website.


For example, if I want to create a feature for my Odoo website that isn’t available in the built-in customization options, how can I do that? Also, how can I set an action for that HTML part so it works seamlessly with other modules?

This is what I'am trying to build:

https://arsenaldirect.arsenal.com/Mens/Mens-Kit/Arsenal-adidas-25-26-Third-Shirt/p/MJI9556


الصورة الرمزية
إهمال
أفضل إجابة

The answer here is a custom theme. 
Building you own theme allows you to create new snippets (building blocks) and modify the basic website pages (product page, shop page, etc) as you would other backend views, using template inheritance. It can get quite messy fast, the dev experience working with snippets is not that great and quite opaque, but anything can be achieved. It even allows you to insert OWL components, meaning you can build pretty much anything that a modern web framework can.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يونيو 25
3058
0
ديسمبر 23
1552
1
أكتوبر 22
3011
0
يونيو 20
2084
0
ديسمبر 17
3623