hibsieraden Posted August 26, 2012 Share Posted August 26, 2012 Helllo, Where in the code of prestashop can I add this html-code to generate a twitter button at the homepgae of my website: <a href="https://twitter.com/hibsieraden" class="twitter-follow-button" data-show-count="false" data-lang="nl">@hibsieraden volgen</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);[spam-filter](document,"script","twitter-wjs");</script> I Have tried already some things (adding in tpl-files) but nothing worked. Thanks in advance, Greetings Bas Link to comment Share on other sites More sharing options...
vekia Posted August 26, 2012 Share Posted August 26, 2012 Maybe you must recompile template with Smarty force compile (Preferences -> performance). Check the overrides, maybe tpl file is overrided by template? Link to comment Share on other sites More sharing options...
hibsieraden Posted August 27, 2012 Author Share Posted August 27, 2012 But considering the two points bij vekia which file have I to adapt? I work with the standard prestashop template with very slight modifications. Have I to adapt a tpl-file, have I to configure a module? Thanks in advance Link to comment Share on other sites More sharing options...
vekia Posted August 27, 2012 Share Posted August 27, 2012 If tpl file exists in your template directory this fille overrides orginal. So, if you want changes, you must edit files in template directory. Sometimes to see changes you must turn on force compile, like in this post: home logo poor quality 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