When on a main page view www.MidShoreLife.com, clicking like in any article increments the count on all buttons on the main page. Appears to be liking the main URL, not the URL of the article.
When clicking on the article title, to go to the article page, the like button there displays the likes for the individual article.
To work as expected, needs to reference the URL of the article, not the page.
Comments
Comment #1
jerdiggity commentedYou're absolutely right -- when I added the "teaser" option, looks like I forgot to update the path (on the front page,
$_GET['q']will also resolve to the front page's path -- not the node's path.../meslaps himself on the back of the head). What's worse is I can't believe no one (including myself) has noticed this yet. :OCommitted change to dev version & will commit to next stable release... Thanks!
Comment #2
john_johnsonpixels.com commentedThanks, I appreciate the quick response.
I'm a 30 year coder, myself, have smacked myself in the back of the head many times.
One of these days I'll actually figure out coding modules and contribute.
In the meantime, I appreciate your work.
Comment #3
SewFresh commentedAny word on when this will make it to an official release? Or is there a temporary fix until then? I would like this functionality on my site as well, if you could give me the code to copy/replace that would be awesome!
Great module!
Comment #4
lyricnz commented@SewFresh: was fixed with this commit.
http://drupalcode.org/project/fblikebutton.git/blobdiff/fcbfb860b533f811...
Comment #5
lyricnz commentedFixed in source on 25 Jun 2011. Will be in next release (6.x-1.7)