Topic-icon order of buttons

Active Subscriptions:

None
7 years 1 month ago #61195 by kkings
order of buttons was created by kkings
I would prefer to have the Facebook buttons first on the left as I think they are the most important. I see the Facebook button (Like & Share) are slightly slower than the rest. I supposed that is why it is on the far right.
The topic has been locked.
Support Specialist
7 years 1 month ago #61202 by mel
Replied by mel on topic order of buttons
Currently, we don't have the option to re-order the buttons in the JFBConnect > Social area. We have the Facebook button on the far right, as the width is not standard and can grow/have strange padding based on what layout type you choose from it. We do have this as an issue in our tracker to address in a future release, but I don't have a timeframe on when we will include the feature.

In the meantime, you can do a code workaround to get a different order:
1. If you want to rearrange Facebook to not be last, you can also edit /plugins/content/jfbccontent/jfbccontent.php around line 240 and swap the following two lines to make Facebook first:
$btnHTML .= $likeExtraHTML; 
$btnHTML .= $likeHTML; //Make this one first
2. In /components/com_jfbconnect/libraries/utilities.php, the getExtraShareButtons method adds the extra buttons. If you want a different order of the other buttons, you can rearrange the if statements.

-Melissa
The topic has been locked.