Google+ social icon will not disable

GK User
Wed Dec 07, 2011 9:52 pm
Hi there!

For some reason the google+ social icon will not turn off! I disabled it and it still appears at the end of all of my articles. See here: http://bit.ly/vZ77Xk

How do I remove this once & for all?

Thank you!!!
User avatar
Junior Boarder

GK User
Wed Dec 07, 2011 10:18 pm
If you are not using any of the socialapi you can use below css code in override.css. Make sure CSS Override is enabled or use in template features > Advanced > Custom Css Code

Code: Select all
#gkSocialAPI { display: none; }


See you around...
User avatar
Platinum Boarder

GK User
Mon Dec 12, 2011 9:47 am
Hi there,

I'd like to completely remove this icon rather than simply hiding the HTML.

It seems to be an oversight in the template that Google + is not included as an option to in the template interface.

Could you tell me how to disable it in the PHP please?

I need a different solution to handle social networks. It is nice that Gavick includes some options, but the only network my client cares about is Linkedin - so I need to find another plugin.

Many thanks
User avatar
Fresh Boarder

GK User
Thu Dec 15, 2011 7:40 pm
You can find social codes in articles are in following file
Code: Select all
\templates\gk_finance_business\html\com_content\article\default.php


Lines: 204 to 212.

Which is below :
Code: Select all
   <gavern:social><div id="gkSocialAPI"></gavern:social>
        <gavern:social><fb:like href="<?php echo $cur_url; ?>" GK_FB_LIKE_SETTINGS></fb:like></gavern:social>
        <gavern:social><g:plusone GK_GOOGLE_PLUS_SETTINGS callback="<?php echo $cur_url; ?>"></g:plusone></gavern:social>
      <gavern:social><a href="http://twitter.com/share" class="twitter-share-button" data-text="<?php echo $this->item->title; ?>" data-url="<?php $cur_url; ?>" GK_TWEET_BTN_SETTINGS>Tweet</a></gavern:social>
      <gavern:social><a class="DiggThisButton GK_DIGG_SETTINGS" href="<?php echo $cur_url; ?>"></a></gavern:social>
      <gavern:social><a href="http://www.google.com/buzz/post" class="google-buzz-button" title="<?php echo JText::_('TPL_GK_LANG_GOOGLE_BUZZ_TITLE'); ?>" GK_BUZZ_BTN_SETTINGS data-url="<?php echo $cur_url; ?>"></a></gavern:social>
      <gavern:social><a href="http://www.delicious.com/save" onclick="window.open('http://www.delicious.com/save?v=5&noui&jump=close&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title), 'delicious','toolbar=no,width=550,height=550'); return false;" class="deliciousBtn" title="<?php echo JText::_('TPL_GK_LANG_DELICIOUS_TITLE'); ?>"></a></gavern:social>
      <gavern:social><a href="http://www.instapaper.com/hello2?url=<?php echo urlencode($cur_url); ?>&amp;title=<?php echo urlencode($this->item->title); ?>" class="instapaperBtn" title="<?php echo JText::_('TPL_GK_LANG_INSTAPAPER_TITLE'); ?>"></a></gavern:social>
   <gavern:social><div class="clr"></div></div></gavern:social>


See you around...
User avatar
Platinum Boarder


cron