Jump to content

Place HTML Code between <head> tag


Recommended Posts

Hi.

I try to add share buttons code in <head> code, but still not works on, also, post in html module box, in <head> code, nothing...

Share button from addthis, and sharethis, also looking from module, to set up, but dont find.

Link to comment
Share on other sites

5 minutes ago, ComGrafPL said:

Depends on theme you're using, it should work with HTMLBox module. Did you check hooks?

Hi.

Its works on other share, for exp shareaholic, and platform.sharethis, but other one dont work on.

Can u pls define hooks or show example or image ?

 

Link to comment
Share on other sites

1 hour ago, izlsa said:

I try to add share buttons code in <head> code, but still not works on, also, post in html module box, in <head> code, nothing...

That is everywhere. The <head> takes scripts and such. Buttons have no purpose there. Where you need to place them would be in the <header> tag. That is usually the area of the banner and navbars.

Edited by Nickz (see edit history)
Link to comment
Share on other sites

Hi.

No, i wil try it, but support also say that its put in...

 

code is added -> themes/classic/templates/_partials/javascript.tpl

maybe you need to add it to a template file like header.tpl and clear cache in panel presta.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...