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

jerdiggity’s picture

Assigned: Unassigned » jerdiggity

You'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... /me slaps himself on the back of the head). What's worse is I can't believe no one (including myself) has noticed this yet. :O

Committed change to dev version & will commit to next stable release... Thanks!

john_johnsonpixels.com’s picture

Thanks, 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.

SewFresh’s picture

Any 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!

lyricnz’s picture

lyricnz’s picture

Status: Active » Fixed

Fixed in source on 25 Jun 2011. Will be in next release (6.x-1.7)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.