This seems like a bug in template as it has google plus one button but has no switch nor settings in template settings.
If you only want to disable google plus one button follow below , beware as this only hides the button and not the block which you will have a empty space below articles. If you want to get rid of the space follow second hack.
Find File: templatesgk_finance_businesslibgk.framework.php
Find Lines: 728 and 729 which is below
- Code: Select all
// G+
if($this->getParam('google_plus', '1') == 1 && !$is_excluded && !$this->browser->get('mobile')) {
Change it to below
- Code: Select all
// G+
if($this->getParam('google_plus', '0') == 1 && !$is_excluded && !$this->browser->get('mobile')) {
If you want to get rid of the empty space.
Find File: templatesgk_finance_businesshtmlcom_contentarticledefault.php
Find Lines: 202 to 213 which is below
- Code: Select all
<?php echo $this->item->event->afterDisplayContent; ?>
<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); ?>&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>
</div>
Simpy delete gavern:social so it looks like below
- Code: Select all
<?php echo $this->item->event->afterDisplayContent; ?>
</div>