PDA

View Full Version : <head> hook to insert custom JavaScript


digitalstudio
21 Dec 2009, 14:16
Hi.

I want to write a plugin that inserts custom JavaScript into the HTML <head> tag. This is for the forum frontend, not the admin panel.

My question is: which plugin hook should I use to do so?

Thanks,
Jon

--------------- Added 1261410692 at 1261410692 ---------------

Just found the answer to this. The way to achieve this is to edit your "theme" under the Styles & Templates tab.

Plugins are not the way to do this!