VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
CHECK OUT OUR PAGE ON GOOGLE +
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

socialshare buttons - how add g+? FB doesnt work:(
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: socialshare buttons - how add g+? FB doesnt work:(

socialshare buttons - how add g+? FB doesnt work:( 21 Jan 2015 15:49 #6135

Hello friends.
I have problem with socialshare buttons in K2 item view.

The code for socialshare buttons is in "/templates/jf_call-exteriors/html/com_k2/portfolio/item.php" row cca 322.

	<!-- Social sharing -->
<div class="itemSocialSharing">
<h3>socialshare</h3>
 
<?php
$app = JFactory::getApplication();
$templateparams = $app->getTemplate(true)->params;
?>
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox">
<a class="addthis_button_facebook"><img src="<?php JURI::base(true) ?>templates/jf_calla-exteriors/images/facebook64.png" alt="share on facebook" /></a>
<a class="addthis_button_linkedin"><img src="<?php JURI::base(true) ?>templates/jf_calla-exteriors/images/linkedin64.png" alt="share on linkedin" /></a>
<!--<a href="nojavascript...void((function()%7Bvar%20e=document.createElement(&apos;script&apos;);e.setAttribute(&apos;type&apos;,&apos;text/javascript&apos;);e.setAttribute(&apos;charset&apos;,&apos;UTF-8&apos;);e.setAttribute(&apos;src&apos;,&apos;http://assets.pinterest.com/js/pinmarklet.js?r=&apos;+Math.random()*99999999);document.body.appendChild(e)%7D)());"><img src="<?php JURI::base(true) ?>templates/jf_calla-exteriors/images/pinterest64.png" alt="share on pinterest" /></a>-->
<!--<a href="<?php echo $templateparams->get('youtubelink'); ?>" target="_blank"><img src="<?php JURI::base(true) ?>templates/jf_calla-exteriors/images/youtube64.png" alt="share on youtube" /></a>-->
<a class="addthis_button_twitter"><img src="<?php JURI::base(true) ?>templates/jf_calla-exteriors/images/twitter64.png" alt="share on twitter" /></a>
<!--<a href="http://www.tumblr.com/share?v=3&u=[<?php echo $this->item->link; ?>]&t=[<?php echo $this->item->title; ?>]" target="_blank"><img src="<?php JURI::base(true) ?>templates/jf_calla-exteriors/images/tumblr64.png" alt="share on tumblr" /></a>-->
<!--<a href="http://society6.com" target="_blank" title="Follow ><img src="<?php JURI::base(true) ?>templates/jf_calla-exteriors/images/soceity664.png" alt="share on soceity6" /></a>-->
</div>
 
<!-- AddThis Button END -->


Some off buttons are commented off by myself.

I have two questions:

1. what code should I write there if I want to have GOOGLE+ sharing button ?
2. The facebook button does not work properly. If I am logged in facebook and then I click the facebook icon in socialshare (in the same browser), then the only white page poop up. How to repair that ?


Can you help me ? (this is my site: test003.cekuj.net)
Last Edit: 21 Jan 2015 15:50 by panslav.

  • Posts:6
  • panslav
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: socialshare buttons - how add g+? FB doesnt work:( 22 Jan 2015 04:08 #6140

Hello,
1. Code:
 
<a class="addthis_button_google_plusone_share"><img src="<?php JURI::base(true) ?>templates/jf_calla-exteriors/images/googleplus.png" alt="share on linkedin" /></a>
 

2. Open Graph Object Debugger, get error
developers.facebook.com/tools/debug/og/o...%2Fitem%2F30-kariera
try to find solution.

joomfreak

  • Posts:2142
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.41 seconds

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.