Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
I found a bug in the code that might explain this. Specifically, the image paths to the buttons are generated by concatenating a slash with drupal_get_path('module', 'feedbuttons') .'/buttons/' and the filename of the graphic. This would work fine for sites where the URL for the Drupal site is the same as the domain name where it resides, but if the Drupal site is located in a subpath (e.g., www.mysite.com/drupal), the path will break.
Instead of beginning the image path with just a slash, the code should be fixed to begin the image paths with the $base_url global. I'm attaching a patch that fixes the bug.
i had the same problem, now tested the new version and all works fine, thx a lot. (though, i was a little confused as i found this beeing more a bookmarking than a feed-application)
Comments
Comment #1
sheldon rampton commentedI found a bug in the code that might explain this. Specifically, the image paths to the buttons are generated by concatenating a slash with drupal_get_path('module', 'feedbuttons') .'/buttons/' and the filename of the graphic. This would work fine for sites where the URL for the Drupal site is the same as the domain name where it resides, but if the Drupal site is located in a subpath (e.g., www.mysite.com/drupal), the path will break.
Instead of beginning the image path with just a slash, the code should be fixed to begin the image paths with the $base_url global. I'm attaching a patch that fixes the bug.
Comment #2
AdvisorGarage commentedMany thanks. As a newbie...what should I do with the patch? i.e. Where does it go and what do I overwrite?
Andrew
http://www.AdvisorGarage.com/community
Comment #3
matt@antinomia commentedFixed, thanks Sheldon.
Advisor, you can download the new tarball as soon as it's packaged - should be by the end of the day...
Comment #4
mimhakkuh commentedi had the same problem, now tested the new version and all works fine, thx a lot. (though, i was a little confused as i found this beeing more a bookmarking than a feed-application)
Comment #5
(not verified) commented