Turn off ''share this story''

October 2015 Joomla Template
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.1.00 out of 6 based on 1 vote(s)
GK User
Tue Dec 29, 2015 2:48 pm
Reply with quote
Report this post
Hi. How can I turn off ''share this story''? I prefer to use another plugin for social sharing. My site: http://www.islamnet.no
Share this story.png
User avatar
Gold Boarder

GK User
Tue Dec 29, 2015 3:54 pm
Reply with quote
Report this post
In template configuration, social api frame you can disable social sharing.
User avatar
Senior Boarder

teitbite
Fri Jan 01, 2016 11:48 am
Reply with quote
Report this post
leagurru wrote:In template configuration, social api frame you can disable social sharing.


Or in K2 category settings. Depends what type of content You are using, joomla articles or K2.
User avatar
Moderator

GK User
Fri Jan 01, 2016 6:04 pm
Reply with quote
Report this post
Thanx! Actually it worked in K2 from template config as well :)
User avatar
Gold Boarder

teitbite
Sat Jan 02, 2016 4:20 pm
Reply with quote
Report this post
Hi

Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator

kharper
Thu Mar 10, 2016 6:27 pm
Reply with quote
Report this post
Hi, I'm trying to remove the Share / social icons at the bottom of my articles, but nothing is working. I've read some of your post and tried many things from reading them. Any suggestions?

Also, when I check on a single post, the option to turn off social is not there,

Thanks,
Kharper
User avatar

teitbite
Wed Mar 16, 2016 11:01 am
Reply with quote
Report this post
Hi

Please check if this option is not in template configuration.

You can always use a css code:

Code: Select all
.item-social-icons {
    display: none;
}


to hide them.
User avatar
Moderator

GK User
Thu Apr 14, 2016 3:45 pm
Reply with quote
Report this post
I would like to place the social buttons OR after itemInfo (before image) OR on left before tag list,
instead of the bottom of the article.

I suppose it has to do with item.php but as I am not very familiar with php I kindly ask for your help.

best regards
User avatar
Fresh Boarder

teitbite
Wed Apr 20, 2016 10:04 am
Reply with quote
Report this post
Hi

Ok. Please tell me the url to the page where You want this change and send me an access to FTP @diasite
User avatar
Moderator

GK User
Wed Apr 20, 2016 11:08 am
Reply with quote
Report this post
Send in private message.
Thanks a lot for your help
User avatar
Fresh Boarder

teitbite
Sun Apr 24, 2016 11:20 am
Reply with quote
Report this post
Hi

I got the message, but I'm afraid URL to Your site is giving me "Server cannot be found" screen. Please tell me the correct url to location of the article You wish to move the icons form.
User avatar
Moderator

teitbite
Wed Apr 27, 2016 12:18 pm
Reply with quote
Report this post
Hi

Looks like I will not be able to help with this. I've tried for last couple of days, but access to Your site is always "timed out" and I'm afraid I can work only on Your copy since this element is not a default one.
User avatar
Moderator

teitbite
Wed Apr 27, 2016 12:26 pm
Reply with quote
Report this post
Hi

Ok. Looks like I've been trying to access site of an author of this thread. I am able to make it with Your site @diasite

I have edited file /html/com_k2/templates/default/item.php and moved code:

Code: Select all
            <?php
            
            $templateSettings = JFactory::getApplication()->getTemplate(true)->params;
            
            if(
               $templateSettings->get('social_api_type', '2') == '2' &&
               (
                  $templateSettings->get('popup_fb', '1') == '1' ||
                  $templateSettings->get('popup_twitter', '1') == '1' ||
                  $templateSettings->get('popup_gplus', '1') == '1' ||
                  $templateSettings->get('popup_pinterest', '1') == '1' ||
                  $templateSettings->get('popup_linkedin', '0') == '1' ||
                  $templateSettings->get('popup_vk', '0') == '1' ||
                  ($this->item->params->get('itemEmailButton') && !JRequest::getInt('print')) ||
                  ($this->item->params->get('itemPrintButton') && !JRequest::getInt('print'))
               )
            ) : ?>
                             
            <span class="item-social-icons">
                                  <h3><?php echo JText::_('TPL_GK_LANG_SOCIAL_STORY_SHARE'); ?></h3>      
               <?php if($templateSettings->get('popup_fb', '1') == '1') : ?>
               <a href="https://www.facebook.com/sharer.php?u=<?php echo $cur_url; ?>" target="_blank" title="Facebook" class="facebook icon-share-popup"><i class="fa fa-facebook"></i></a>
               <?php endif; ?>
               
               <?php if($templateSettings->get('popup_twitter', '1') == '1') : ?>
               <a href="http://twitter.com/intent/tweet?source=sharethiscom&amp;url=<?php echo $cur_url; ?>" target="_blank" title="Twitter" class="twitter icon-share-popup"><i class="fa fa-twitter"></i></a>
               <?php endif; ?>
               
               <?php if($templateSettings->get('popup_gplus', '1') == '1') : ?>
               <a href="https://plus.google.com/share?url=<?php echo $cur_url; ?>" target="_blank" title="Google+" class="google icon-share-popup"><i class="fa fa-google-plus"></i></a>
               <?php endif; ?>
               
               <?php if($templateSettings->get('popup_pinterest', '1') == '1') : ?>
               <a href="javascript:void((function()%7Bvar%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','//assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)%7D)());" title="Pinterest" class="pinterest"><i class="fa fa-pinterest-p"></i></a>
               <?php endif; ?>
               
               <?php if($templateSettings->get('popup_linkedin', '0') == '1') : ?>
               <a href="https://www.linkedin.com/cws/share?url=<?php echo $cur_url; ?>" title="LinkedIn" class="linkedin icon-share-popup"><i class="fa fa-linkedin"></i></a>
               <?php endif; ?>
               
               <?php if($templateSettings->get('popup_vk', '0') == '1') : ?>
               <a href="http://vkontakte.ru/share.php?url=<?php echo $cur_url; ?>" title="VK" class="vk icon-share-popup"><i class="fa fa-vk"></i></a>
               <?php endif; ?>
            </span>
            <?php endif; ?>


and copied it under the </header> closing tag.
User avatar
Moderator


cron