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!
Create an account today to enjoy exclusive features and engage with our awesome community!
Înscrie-te| Related Posts | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|  | 2 ian. 24  | 4075 | ||
|  | 1 mai 23  | 2365 | ||
| 
            
                Value set to false by default?
            
            
                    Rezolvat
            
         |  | 2 apr. 23  | 3565 | |
|  | 2 feb. 24  | 5670 | ||
|  | 1 apr. 24  | 2766 |