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!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
|
2
ม.ค. 24
|
4039 | ||
|
|
1
พ.ค. 23
|
2355 | ||
|
Value set to false by default?
แก้ไขแล้ว
|
|
2
เม.ย. 23
|
3550 | |
|
|
2
ก.พ. 24
|
5615 | ||
|
|
1
เม.ย. 24
|
2743 |