Google+ disappeared in K2 items

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
Sun Nov 02, 2014 3:06 pm
Reply with quote
Report this post
The Social Google+ icon is disappeared in K2 items?

Regards
User avatar
Gold Boarder

GK User
Mon Nov 03, 2014 7:04 am
Reply with quote
Report this post
Could you please rephrase your question?
User avatar
Moderator

GK User
Mon Nov 03, 2014 10:51 am
Reply with quote
Report this post
Hi Cyberek,

The Google+ icon is not showing up on my K2 item pages. And as the Firebug screencap is shown the 'itemGooglePlusOneButton' class is grayed out. How to fix this?

Regards
User avatar
Gold Boarder

GK User
Tue Nov 04, 2014 12:28 pm
Reply with quote
Report this post
Could you please post an url to your site, to a place where this issue can be seen?
User avatar
Moderator

GK User
Tue Nov 04, 2014 3:18 pm
Reply with quote
Report this post
Hereby a link: http://bit.ly/1t8e8lF

Regards
User avatar
Gold Boarder

GK User
Wed Nov 05, 2014 4:43 pm
Reply with quote
Report this post
Please check if your template is updated. It looks like old version of google plus script and html mockup is used.
User avatar
Moderator

GK User
Sun Nov 16, 2014 3:12 pm
Reply with quote
Report this post
Hi,
The template is up-to-date and also the html mockup. The google+ icon is working on my backup website (http://bit.ly/1EMo0Z4). I've compared the templates files on the content of both sites but did found nothing that can explain why it's not working on the production site?

Regards
User avatar
Gold Boarder

GK User
Tue Nov 18, 2014 5:28 pm
Reply with quote
Report this post
Is it exactly same copy?
From what I see, site with 'demo9' in url calls for google+ with this mockup:
Code: Select all
<g:plusone annotation="inline" width="120"></g:plusone>

while the other site uses:
Code: Select all
<plusone annotation="inline" width="120"></plusone>


So it looks they are different somehow.
Please check it on "production" site this file exist:
templates/gk_musicstate/html/com_k2/templates/default/item.php
and contains this block of code:
Code: Select all
<div class="itemGooglePlusOneButton">
     <g:plusone annotation="inline" width="120"></g:plusone>
     <script type="text/javascript">
          (function() {
          window.___gcfg = {lang: 'en'}; // Define button default language here
          var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
          po.src = 'https://apis.google.com/js/plusone.js';
          var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
          })();
     </script>
</div>
User avatar
Moderator

GK User
Fri Nov 21, 2014 8:16 am
Reply with quote
Report this post
Hi,
I've found out that extension Plugin Rokbox v2.x with backward compatibility enabled screwed up the social icons buttons.

Thank for your help anyway!

Regards
User avatar
Gold Boarder

GK User
Fri Nov 21, 2014 1:51 pm
Reply with quote
Report this post
Ok, thanks for the info.
User avatar
Moderator


cron