Guest Posted March 6, 2013 Share Posted March 6, 2013 (edited) Hey guys! Was trying to add links to the social module block, not having any luck hardcoding the links into blocksocial.cms, any suggestions? Do I have to modify the module? Thanks Edited March 10, 2013 by Guest (see edit history) Link to comment Share on other sites More sharing options...
GoGoMo Posted March 8, 2013 Share Posted March 8, 2013 Hey guys! Was trying to add links to the social module block, not having any luck hardcoding the links into blocksocial.cms, any suggestions? Do I have to modify the module? Thanks I believe you'd have to modify the blocksocialmodule and its associate .css and .tpl files to add Pinterest and/or any other social media profile icons and url links as seen on others Prestashop online shops. Link to comment Share on other sites More sharing options...
Guest Posted March 10, 2013 Share Posted March 10, 2013 Ahhh! I edited that block but made a simple error and my ahref links were not showing up! My fault! I thought I had to edit the module for that reason. Thanks for setting me straight! For anyone looking to add links via hardcoding blocksocial.tpl here my code. <div id="social_block"> <p class="title_block">{l s='Follow us' mod='blocksocial'}</p> <ul> {if $facebook_url != ''}<li class="facebook"><a href="{$facebook_url|escape:html:'UTF-8'}">{l s='Facebook' mod='blocksocial'}</a></li>{/if} {if $twitter_url != ''}<li class="twitter"><a href="{$twitter_url|escape:html:'UTF-8'}">{l s='Twitter' mod='blocksocial'}</a></li>{/if} {if $rss_url != ''}<li class="rss"><a href="{$rss_url|escape:html:'UTF-8'}">{l s='RSS' mod='blocksocial'}</a></li>{/if} <li class="pinterest"><a href="#">Pinterest</a></li> <li class="instragram"><a href="#">Instragram</a></li> <li class="vimeo"><a href="#">Vimeo</a></li> </ul> </div> Link to comment Share on other sites More sharing options...
vekia Posted March 11, 2013 Share Posted March 11, 2013 thanks for sharing the solution can you provide an url ? i want to check how fantastic it looks here is a free addon to create links: http://www.prestashop.com/forums/topic/250220-free-module-social-network-links-facebooktwitteryoutubegooglerss/ Link to comment Share on other sites More sharing options...
Guest Posted March 11, 2013 Share Posted March 11, 2013 Hey vekia. You can see how it is looking at: www[dot]anewall[dot]com username: stack password: overflow Pretty basic setup thus far! I think it looks clean though! Link to comment Share on other sites More sharing options...
Lyssa Posted July 19, 2013 Share Posted July 19, 2013 And another OMG thank you! Loving all the help here! Link to comment Share on other sites More sharing options...
Guest Posted July 19, 2013 Share Posted July 19, 2013 You got it! eggo 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