Topic-icon Rearrange Box_Count Layout

Active Subscriptions:

None
11 years 7 months ago #48014 by peforever
Hi,
I went to Content Plugin - K2 Like and chose the Box_Count Layout Style.
In this layout, The Facebook Share button is positioned under the Facebook Like button without a Box Counter.
How can I move the Share button to be on the same row as the other buttons and have a Box Counter?
Plus, how can I rearrange the order of all the buttons from left to right?

Thanks!
The topic has been locked.
Support Specialist
11 years 7 months ago #48020 by alzander
Replied by alzander on topic Rearrange Box_Count Layout
Right now, we don't have a way to re-arrange the buttons without modifying the code of JFBCOnnect itself. We do the ordering in such a way that it generally lays out the best. Things like Facebook can use text at the end (in standard mode) and Google uses a large popup, so we don't normally recommend altering the order.. though, if you absolutely need to, we can help point you to the file to edit.

As for the Share button, there is no counter for that widget. The only Facebook sharing option that gets a count in the Like button itself. Sharing is just a different way to post content, but is not an indicator that someone actually "likes" the content, and therefore doesn't add to an overall counter indication.

I hope that helps explain, but if you have any other questions, just let us know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 7 months ago #48028 by peforever
Hi Alex,
Most pages I see on the web have in this order: FB, Twitter, Google+, LinkedIn
I have also seen a Count over both the Like and Share buttons.
Your Button_Count has a counter on Share instead of Like.
How can we make this happen?
The topic has been locked.
Support Specialist
11 years 7 months ago #48044 by alzander
Replied by alzander on topic Rearrange Box_Count Layout
There is no counter for the Share button. You can configure it on the page below to verify the different options:
developers.facebook.com/docs/plugins/share-button

The Like button can also show the share button. In the Standard and Button Count styles, it may *look* like the Share button has a counter, but the counter is actually for the Like button. We can't fix that.

To re-order things, you'd need to edit the /libraries/utilities.php file. Around line 65, you'll see the getExtraShareButtons function. In there are a bunch of 'if' statements. Simply re-order them how you'd like the buttons to show.

I hope that helps,
Alex
The topic has been locked.
Support Specialist
11 years 7 months ago #48045 by alzander
Replied by alzander on topic Rearrange Box_Count Layout
Forgot the link to the Like button configuration tool:
developers.facebook.com/docs/plugins/like-button/

Alex
The topic has been locked.