izlsa Posted January 2, 2022 Share Posted January 2, 2022 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 More sharing options...
ComGrafPL Posted January 2, 2022 Share Posted January 2, 2022 Depends on theme you're using, it should work with HTMLBox module. Did you check hooks? Link to comment Share on other sites More sharing options...
izlsa Posted January 2, 2022 Author Share Posted January 2, 2022 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 More sharing options...
Nickz Posted January 2, 2022 Share Posted January 2, 2022 (edited) 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 January 2, 2022 by Nickz (see edit history) Link to comment Share on other sites More sharing options...
izlsa Posted January 2, 2022 Author Share Posted January 2, 2022 2 minutes ago, Nickz said: Where you need to place them would be in the <header> tag. That is usually the area of the banner and navbars. I have put-in code, but its just dont work on, so ? Link to comment Share on other sites More sharing options...
Nickz Posted January 2, 2022 Share Posted January 2, 2022 2 hours ago, izlsa said: I have put-in code, but its just dont work on, so ? Have you cleared your caches? and leave the index.php files intact Link to comment Share on other sites More sharing options...
izlsa Posted January 4, 2022 Author Share Posted January 4, 2022 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now