Hello,
As in the subject - I know how to add custom script to theme, but how to add such script to single page onle?
regards
Tomasz
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
As in the subject - I know how to add custom script to theme, but how to add such script to single page onle?
regards
Tomasz
A simple way, without modifying existing code, is to use the 'embed code' snippet in the website editor. Next, add the code required, or an import for e.g., a library.


Above example will output 'home page' in the console in the home page, but not in the other pages.
I hope this helps!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký| Bài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
|---|---|---|---|---|
|
|
2
thg 1 24
|
4056 | ||
|
|
1
thg 5 23
|
2360 | ||
|
Value set to false by default?
Đã xử lý
|
|
2
thg 4 23
|
3555 | |
|
|
2
thg 2 24
|
5633 | ||
|
|
1
thg 4 24
|
2755 |