PDA

View Full Version : How to add JavaScript in html_header.tpl


hunter
11-12-2007, 09:35 AM
Hello,

I trying to add to my site JavaScript but they not work :(
I upload script.js directly to js folder .. and reload my page but script not work , after this i insert code directly in html_header.tpl and again code not work.

How to add to all pages this JavaScript ?

Thank you in advance !!

hunter
11-12-2007, 09:44 AM
I found solution .. just upload script to /js/ folder and add in header.tpl

<vte:header type="script" href="{VIVVO_URL}js/JavaScript.js" />

Thanks !! :)

shketuljko
11-13-2007, 10:40 AM
Excellent :)

DRIVE
12-06-2007, 07:21 AM
I found solution .. just upload script to /js/ folder and add in header.tpl

<vte:header type="script" href="{VIVVO_URL}js/JavaScript.js" />

Thanks !! :)

Good eye Hunter.... solved a couple of probs on my end. Thanks!