Custom code in <head> section

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Scam Warning
Locked
User avatar
tojag
Registered User
Posts: 339
Joined: Thu Aug 07, 2014 8:00 am
Location: Warsaw, Poland, EU
Name: Gregory

Custom code in <head> section

Post by tojag » Fri Jun 08, 2018 7:46 am

According to this
viewtopic.php?f=556&t=2441051&hilit=head
it is will be nice to have an extension to add custom code in <head> section without modyfing files.
This possibilitty can help to many things when admin wants to add eg. .js .css links or code. The good example is cookie/privacy info code, adsense code, analityc code etc.
So, if anyone can help, I will be very grateful :)

User avatar
martti
Registered User
Posts: 671
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: Custom code in <head> section

Post by martti » Wed Jun 13, 2018 10:52 am

See the Custom Code extension.

Or, for adding custom Javascript and css, see (better than inline, because cached):

Extra Javascript
Extra Style

User avatar
tojag
Registered User
Posts: 339
Joined: Thu Aug 07, 2014 8:00 am
Location: Warsaw, Poland, EU
Name: Gregory

Re: Custom code in <head> section

Post by tojag » Wed Jun 13, 2018 9:36 pm

Thanks Martti. This topic was closed when I asked here. At now, I see that You prepared a new version. I will try it.
Regards

Moderator can close this topic now.

Locked

Return to “Extension Requests”

Who is online

Users browsing this forum: No registered users and 10 guests