Jump to content

Add Google+ To Social Block


Recommended Posts

Okay, I did like this:

	<ul>
<li><a href="https://plus.google.com/11728430771993036####/" rel="publisher">Find us on Google+</a></li>
		{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}

	</ul>

But it's messing up the entire footer area and not showing the link as well. Guess I"m missing something. I also tried it with class="rss", but same result.

 

Any ideas?

Link to comment
Share on other sites

Okay, yes, you're right. It must have got moved when I was moving contentbox....

 

Back to the initial problem, I've also tried sticking it in there with the facebook class, but still not showing up.

 

What's interesting is even if I duplicate the exact line for facebook, it still only shows facebook once. I wonder if this is something to do with the way social.php is coded....

	<li class="facebook"><a href="https://plus.google.com/1172843077199303654##/">{l s='Google Plus' mod='blocksocial'}</a></li>
Edited by damian5000 (see edit history)
Link to comment
Share on other sites

there are 2 possibilities:

 

1) you need to turn force compilation ON and cache OFF under adv. parameters > performance

2) make sure that this file doesn't exist in themes/YOUR_THEME/blocksocial/blocksocial.tpl - if it exists there - you have to edit this file

Link to comment
Share on other sites

×
×
  • Create New...