Installed Feedbuttons but the buttons do not render - Basically shows a 'graphic' box with red 'X'

AdvisorGarage - July 9, 2007 - 15:37
Project:FeedButtons
Version:5.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Any suggestions greatly appreciated!

Andrew

#1

Sheldon Rampton - July 30, 2007 - 21:19

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.

AttachmentSize
patch_157.txt 20.25 KB

#2

AdvisorGarage - July 31, 2007 - 16:09

Many 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

#3

matt@antinomia - October 6, 2007 - 23:57
Status:active» fixed

Fixed, thanks Sheldon.

Advisor, you can download the new tarball as soon as it's packaged - should be by the end of the day...

#4

mimhakkuh - October 10, 2007 - 12:20

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)

#5

Anonymous - October 24, 2007 - 12:41
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.