Re: Re: Statcounter / Site Meter / User Tracking
> > How do I add javascript that will show up on all pages? I've seen the option somewhere, but I've just searched through all the admin panels and can't find it anywhere.
>
> You can add javascript to the templates used to define your page layout. As an example, take a look at header.tpl in the Templates folder of your tw installation. Do a search for "script" and you should see how it can be done.
>
> ❗Word of warning: There's a template editor in the admin section of tw. Don't use this to edit templates containing javascript as it seems to strip out all the script tags. I've ended up editing my templates using a text editor.
>
> rikrak
Thanks! I've got it working now. My next question is, how do I upgrade when a new vesion of tikiwiki is released if I'm modifying files like that? I upgraded my site once, but only by doing as suggested and installing a fresh copy. Do I need to keep track of all the changes that I make, and re-make the changes when I need to upgrade to a newer version of tikiwiki?