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!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|
2
gen 24
|
4427 | |||
|
1
mag 23
|
2491 | |||
|
Value set to false by default?
Risolto
|
2
apr 23
|
3843 | ||
|
2
feb 24
|
6232 | |||
|
1
apr 24
|
3072 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.