This project is not covered by Drupal’s security advisory policy.

This module allows to integrate the Voting like button into your Drupal website.

Features

  • Votinglike module allows visitors to like and dislike anonymously the following Drupal entities: nodes, comments, user.
  • Fully customizable through settings.
  • All labels texts can be changed.
  • Appearance is controlled through CSS.
  • Built-in styles.

Get Likes and Dislikes count in template

Suppose you are using "bartik" theme and you want to display Likes and Dislikes count on the Article page:

  1. Enable "Auto-synching likes into local database" on VotingLike module configuration page (/admin/config/search/votinglike)
  2. Insert the following code in the /themes/bartik/templates/node.tpl.php:
    <?php
    $like_button = votinglike_output('node', $node ->nid, TRUE);
    echo $like_button;
    ?>
    

Project information

Releases