Jump to content

(SOLVED) open social networking sites in new window


Recommended Posts

can you please show the website, where the button is? you use default template? + are you sure that you changed correct file? i mean, that sometimes this file is also located in the themes directory: themes/yourtheme/modules/blocksocial/blocksocial.tpl

if it exist there, you have to edit this one.

Link to comment
Share on other sites

When I right click the link and go to inspect element the change seems to have been made.

 

Now I have removed the URL from the social networking block.

 

Now after refreshing the page, I find the facebook Icon has been removed

Link to comment
Share on other sites

csPaul,

Go to your host and login

Open cPanel

Open File manager application

go to your shop root folder

go to /themes/default/modules/blocksocial/blocksocial.tpl

 

contents should be something like this. I made the changes so see if you can add it in the same spot:

 

<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'}" target="_blank">{l s='Facebook' mod='blocksocial'}</a></li>{/if}

{if $twitter_url != ''}<li class="twitter"><a href="{$twitter_url|escape:html:'UTF-8'}" target="_blank">{l s='Twitter' mod='blocksocial'}</a></li>{/if}

{if $rss_url != ''}<li class="rss"><a href="{$rss_url|escape:html:'UTF-8'}" target="_blank">{l s='RSS' mod='blocksocial'}</a></li>{/if}

</ul>

</div>

 

Hope this helps,

pascal

  • Like 1
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...