Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
is there a way to change this string to the name of the website the post is shared from?
Comment | File | Size | Author |
---|---|---|---|
#10 | Screen Shot 2013-06-06 at 12.10.58.png | 68.61 KB | roelwelters |
#6 | output.png | 149.79 KB | TheCrow |
#4 | service_links-2000510.patch | 455 bytes | TheCrow |
#3 | Archive.zip | 15.79 KB | roelwelters |
#2 | service_links-2000510.patch | 574 bytes | TheCrow |
Comments
Comment #1
TheCrow CreditAttribution: TheCrow commentedI changed the name of the App right now in FBShare by Service Links, if you want a custom app name apply the patch go to Adminster > Configuration > Service Links and switch to Widgets Tabs there are the info to build a custom Facebook App id for Facebook Share
Comment #2
TheCrow CreditAttribution: TheCrow commentedHere the patch
Comment #3
roelwelters CreditAttribution: roelwelters commentedpatch won't work:
This may be crucial to most of you, but it's the first time i'm applying a patch,
the .patch is in the same directory as the .module
this is the error i get from terminal:
Roel-iMac:service_links roelwelters$ patch < service_links-2000510.patch
can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/services/widget_services.admin.inc b/services/widget_services.admin.inc
|index 9248f87..39dc524 100644
|--- a/services/widget_services.admin.inc
|+++ b/services/widget_services.admin.inc
--------------------------
File to patch: service_links.module
patching file service_links.module
Hunk #1 FAILED at 130.
1 out of 1 hunk FAILED -- saving rejects to file service_links.module.rej
Comment #4
TheCrow CreditAttribution: TheCrow commentedi re-edited the patch, seems that the git diff patch is not welcome to patch command.
patch -p0 < service_links-2000510.patch
Comment #5
roelwelters CreditAttribution: roelwelters commentedpatched successfully!
now i can edit the app id, and i see the link to facebook.
However it is not very clear what to do on facebook, can you please point me in the right direction?
Kindest regards
Comment #6
TheCrow CreditAttribution: TheCrow commentedComment #7
TheCrow CreditAttribution: TheCrow commentedPatch committed if there are other troubles just continue here.
Comment #8
roelwelters CreditAttribution: roelwelters commentedHi,
now everytime i visit the site, the links are gone,
i have to log in,
go to admin/config/services/service-links
dont change anything, just press save
and the links are back.
Also the links are stacked, how do i put them on one line?
Kindest regards
Roel
Comment #9
TheCrow CreditAttribution: TheCrow commentedis this related to anonymous user permissions? are you using some other social module?
here some suggestion to style the widgets links: http://servicelinks.altervista.org/?q=about/troubleshooting
Comment #10
roelwelters CreditAttribution: roelwelters commentedI applied the patch
I made a facebook app
still the shared post says: Roel Welters heeft een link via FBShare by Service Links gedeeld.
Comment #11
TheCrow CreditAttribution: TheCrow commentedyou have to change the facebook app id in the service links configuration page... widgets tab... and go to facebook share settings
the patch is committed in dev so this should work without patch anymore if you have the latest dev
Comment #12
roelwelters CreditAttribution: roelwelters commentedI did change the app id on the widgets tab, didnt work.
I'll start all over with the new dev version.
Comment #13
Simon Georges CreditAttribution: Simon Georges commentedIs it better with the -dev version?