sherrie Posted July 31, 2012 Share Posted July 31, 2012 Trying to put up that little bird with the follow me sign. But no type of block or module seems to hold it.Others having this problem?Thanks, Sherrie Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 31, 2012 Share Posted July 31, 2012 Hi Sherrie, What module or script are you trying to use, specifically? -Mike Link to comment Share on other sites More sharing options...
MEG Venture Posted July 31, 2012 Share Posted July 31, 2012 Can you elaborate your problem? Do you use a module or need a module? Link to comment Share on other sites More sharing options...
sherrie Posted July 31, 2012 Author Share Posted July 31, 2012 Using the script I got from Twitter. Try putting it in a cms and a freestyle block and on the front page content and in the footer content. <a href="https://twitter.com/OleanQuilters" class="twitter-follow-button" data-show-count="false">Follow @OleanQuilters</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> Link to comment Share on other sites More sharing options...
MEG Venture Posted July 31, 2012 Share Posted July 31, 2012 (edited) Why don't you try that link? There is a free one. http://www.prestasho...er-button-free/ Or this one. A flying bird: http://www.prestasho...le-fly-twitter/ Alternatively, you can check this thread, too http://www.prestashop.com/forums/topic/38481-twitter-block-module/ Hope this helps!!! Edited July 31, 2012 by Caglar (see edit history) Link to comment Share on other sites More sharing options...
sherrie Posted July 31, 2012 Author Share Posted July 31, 2012 Well, I just MUST have this little guy!!! Thank you so much!! Sherrie Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 31, 2012 Share Posted July 31, 2012 Thanks Caglar! I'll go ahead and mark this thread as solved. Happy selling! -Mike Link to comment Share on other sites More sharing options...
MEG Venture Posted July 31, 2012 Share Posted July 31, 2012 You're all welcome... Good night! Link to comment Share on other sites More sharing options...
Presta4All Posted July 28, 2013 Share Posted July 28, 2013 Using the script I got from Twitter. Try putting it in a cms and a freestyle block and on the front page content and in the footer content. <a href="https://twitter.com/OleanQuilters" class="twitter-follow-button" data-show-count="false">Follow @OleanQuilters</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> For the ones who doesn't want a module, you can just add {literal} {/literal} before and after script. You can then add the code in any .tpl So it gives you : <a href="https://twitter.com/OleanQuilters" class="twitter-follow-button" data-show-count="false">Follow @OleanQuilters</a> {literal} <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> {/literal} You can see it live here using the twitter feed. Every little helps... 1 Link to comment Share on other sites More sharing options...
vekia Posted July 28, 2013 Share Posted July 28, 2013 thanks for your know how. Method provided by you is good for merchants with basic knowledge about coding, if someone don't know how to use FTP etc. it's better to use available modules that's my opinion, but of course your method is absolutely right Link to comment Share on other sites More sharing options...
Presta4All Posted July 28, 2013 Share Posted July 28, 2013 I totally agree with you. Some "basic " knowledge are necessary but I found it so much easier than modules for couples of reasons : -You can place you code wherever you want. You don't need to look for those Hooks( by the way, the hooks are the "most horrible thing" in Prestahop, I don't need to talk about their "Live edit module position", it's only good the basic theme) -If new update from external link and script comes ( like Facebook new plugins or a change of website link), it's easier to access to the code and change it. -You can really adapt it to your theme and website layout So at the end it's really worth it to learn a little bit about coding in prestashop. But you are right, do not try this change if you don't have a clue about what your are doing 1 Link to comment Share on other sites More sharing options...
Velocity Posted August 24, 2013 Share Posted August 24, 2013 Solution given by 98dianast works like a charm, sometimes is better to put the code wherever you want than a module. The thing is, the script of the G+ button doesnt need the {literal} to work, anyone know why the twitter script does ? 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