Social media

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Jan 09, 2015 9:57 am
Reply with quote
Report this post
Using 3.3.6 with GK Storebox QS template.

I have deactivated all Social media in the template configuration (gk_storebox - Default). See screenshot.
screenshot-socials.jpg


But there are still all social media buttons beneath the articles on frontend. No effect when deactivating one or more in backend.

1. What´s wrong - how can I deactivate all or some of the social media buttons?

2. Is this part of the template configuration also responsible for the visibility of the "Login with Facebook-Button" ? Or do I have to change another file to get rid of this button in my Login modules?

Link: http://7rw9i.w4yserver.at/index.php/unternehmen/unternehmen
User avatar
Junior Boarder

teitbite
Sat Jan 10, 2015 9:38 pm
Reply with quote
Report this post
Hi

Looks like there is some kind of bug with social buttons. Please edit /layout/blocks/social.php and remove all the code You will find here. This way buttons and login with facebook will be removed from template's code.
User avatar
Moderator

GK User
Mon Jan 12, 2015 10:31 am
Reply with quote
Report this post
Hi

screenshot-twitter-pint.jpg


I removed the code from social.php - but still 2 links remain: A twitter-text link and the pinterest button.
Even if I delete the whole php file.

And facebook login still there.

:?:
User avatar
Junior Boarder

teitbite
Wed Jan 14, 2015 12:23 am
Reply with quote
Report this post
Hi

That's very odd. Please send me an access to ftp and site url. I'll try remove it myself.
User avatar
Moderator

teitbite
Fri Jan 16, 2015 5:11 pm
Reply with quote
Report this post
Hi

I have edited /html/com_content/article/default.php and removed this code from the bottom of this file.

Code: Select all
   <gavern:social><div id="gkSocialAPI"></gavern:social>
      <gavern:social><g:plusone GK_GOOGLE_PLUS_SETTINGS callback="<?php echo $cur_url; ?>"></g:plusone></gavern:social>
      <gavern:social><g:plus action="share" GK_GOOGLE_PLUS_SHARE_SETTINGS href="<?php echo $cur_url; ?>"></g:plus></gavern:social>
      <gavern:social><fb:like href="<?php echo $cur_url; ?>" GK_FB_LIKE_SETTINGS></fb:like></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 href="http://pinterest.com/pin/create/button/?url=<?php echo $cur_url; ?>&amp;media=<?php echo $pin_image; ?>&amp;description=<?php echo str_replace(" ", "%20", $this->item->title); ?>" class="pin-it-button" count-layout="GK_PINTEREST_SETTINGS"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="<?php echo JText::_('TPL_GK_LANG_PINIT_TITLE'); ?>" /></a></gavern:social>
    <gavern:social></div></gavern:social>
User avatar
Moderator


cron