Re: A feature request : Easily add a custom javascript in header or footer
Reply #1 – December 23, 2013, 12:42:03 pm
I could see this being useful for the reasons you pointed out. Would you rather it be a global option that when set it shows in all themes? Or allow each theme the option to set it's own?
Re: A feature request : Easily add a custom javascript in header or footer
Reply #2 – December 23, 2013, 01:00:16 pm
personally I think global is good enough because I will use it to insert analytics code in header or footer and it will be a hassle to setup the code for each theme. I seldom change my theme though. Thanks!
Re: A feature request : Easily add a custom javascript in header or footer
Reply #3 – December 27, 2013, 10:03:59 am
We should track this at gitHub as a feature request I think
Re: A feature request : Easily add a custom javascript in header or footer
Reply #5 – December 31, 2013, 07:49:07 am
emanuele
Global Moderator
A mod should be rather easy to implement I think: a couple of hooks and save the header into the settings table...the most annoying thing would be setup the package-info LOL ... heck me is tempted to do some changes on that respect...
Re: A feature request : Easily add a custom javascript in header or footer
Reply #7 – November 06, 2014, 07:33:46 am
is this solved? is it possible to add google analytics to elkarte? imho I think it should be as a mod, many users are using Google Analytics