Jump to:
| Project: | Service links |
| Version: | master |
| Component: | Code |
| Category: | task |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
Hello,
I want to change the text from 'Share to Facebook' to just 'Share' because it's too long for the design in our website. I found the bit of code that can change the text; It's in widget_services.module line 15.
I can just hack into the module's file but I don't want to do that. I've been reading things about how to override a module function like create a custom module which will have the function which will override the function in your module. It seems such a dirty work to create a custom module altogether to just change the text, or an entry in the array. I know about the template.php but widget_services_service_links() is not a theme function I think, so help?
I just need to know how to do this properly.
Comments
#1
#2
I encountered the same problem but don't have a technical solution for it. It's bad, but for the moment I Just changed line 15 as you suggested (thanks for the tip).
My opinion is that text can be just changed to "Share" in the next release. It is much more common on the web and it works better visually with the other widgets included in this great module (+1, digg, twitter, etc.)
#3
fixed in dev some time ago for both versions
#4
for reference: #1390066: Facebook Share Issues