I'd like to ask if would it be possible to alter the weight of the Like button to ensure that it's at the end (or at least provide an option to alter the weight)?
My exact problem is that when I translate an article, the language selector for the specified article is displayed next to the "Like" button. For screenshot, see the attached picture.
But unfortunately the Like button is displayed before the link for the translated article, instead of after the link for the translated article. I tried to clear the "width of the like button" setting, then the link comes closer, but that doesn't solve my original issue.
Thank you in advance.
Comments
Comment #1
ferdi commentedI can move the like widget at the end of the node links but I'm afraid not everyone will be happy with it.
I would recommend you override the node links in our theme's template file (template.php).
Clear the cache for these changes to take effect. Note that this will work with beta2 version of this module. Let me know if this works for you.
Comment #2
fleetcommand commentedOh, thank you for your useful reply :) The function works perfectly (except that it has an extra apostrophe) so now the Like button went to the end, giving it a more consistent look. So thanks again.
ps. maybe you could consider to add it as an option, however I'm not sure how hard to do it from the module without touching the theme files
Comment #3
knalstaaf commentedRemove it from
$links['fb_social_like''] = $v;'fb_social_like'' should be 'fb_social_like'
Comment #4
ferdi commented