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!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
|
2
ene 24
|
4038 | ||
|
|
1
may 23
|
2352 | ||
|
Value set to false by default?
Resuelto
|
|
2
abr 23
|
3550 | |
|
|
2
feb 24
|
5614 | ||
|
|
1
abr 24
|
2740 |