Per #1710714: Theme the Commons "Like" widget, this is a custom Rate widget implemented for Commons. This will likely need improvements, but here's a good start.

Comments

erikwebb’s picture

Status: Active » Needs review
StatusFileSize
new4.5 KB
erikwebb’s picture

Remove specific reference to "Event" content type.

ezra-g’s picture

Status: Needs review » Needs work

Noting this progress commit: http://drupalcode.org/project/commons_like.git/commit/59f967f

Currently the vote total display doesn't update for me. Strangely, if i add a second Commons Like widget through the UI and name it something like commons_another_like, that widget updates the vote totals as expected.

A thumbs_up widget also works as expected.

ezra-g’s picture

Status: Needs work » Fixed

The non-updating vote increment turned out to be #1789566: Undefined constant: COMMONS_RADIOACTIVITY_VOTE.

I removed a dpm() and made a stylistic change and committed. Thanks, erikwebb!

http://drupalcode.org/project/commons_like.git/commitdiff/c69025a?hp=59f...

Status: Fixed » Closed (fixed)

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

ezra-g’s picture

Project: Commons Like » Drupal Commons
Component: Code » Content usefulness

Moving this to the main Drupal Commons issue queue per #1812492: Consider using central issue queue for Commons projects.