The number of likes dissapeared

The number of likes dissapeared

My previous developer did some changes in templates and now the number of likes doesn't appear in any article unfortunately.

I want the number of likes to appear again (ex. "You and 5 friends like this") exactly like it was.

Click on any of my news items and you'll see it yourself:
http://www.gameworld.gr/news

Any tip about that? Can I de-sync and re-sync the likes? I only hope that I didn't lost them. I want all the total number of likes to be shown again in every article like they were before!

Manos
Manos
useravatar
Offline
43 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: The number of likes dissapeared

The social buttons there are configured with the "button" layout. That layout doesn't allow the faces to be shown. The HTML that's being output is:

Code:

<div class="fb-like" data-href="http://www.gameworld.gr/component/content/article/184-&epsilon;&iota;&delta;ή&sigma;&epsilon;&iota;&sigmaf;/2014-05-19-05-48-06/15123-project-morpheus-virtual-reality-ps4" data-show-faces="true" data-share="true" data-layout="button" data-action="like" data-colorscheme="light" data-kid-directed-site="false">

That data-layout="button" is the problem. You'll need to change that to "standard" either in the JFBConnect -> Social area, the easy tags or the module settings, depending on how you're inserting the buttons in that position.

Next, and unrelated are a few other odd things I see in the HTML of the site. If you open the HTML on any your pages, there's a style block of code at the very top before the opening HTML element that's just wrong:

Code:

<style>

.scsocialbuttons:first-child {
display: block !important;background:none !important;
}

.scsocialbuttons {
display: none !important;
}
</style>
Those related to our social buttons, but definitely aren't being inserted by our code. I'd remove that as it's invalid HTML for where it's placed and could cause you other issues.

And finally, another strange thing, the article seems to be duplicated on the page. There's the copy at the top and then, if you scroll down, it shows again. Not related to our social buttons, but I wanted to point it out.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23821 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11505
Total Polls:
0
Total Posts:
48424
Posts today:
9
User Info
 
Total Users:
47477
Newest User:
ShariBridges2
Members Online:
3
Guests Online:
756

Social Stream
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program