Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It would be great to have a feature to show the number of times a certain node have been favorited by people, like on YouTube.
Comments
Comment #1
Sharique CreditAttribution: Sharique commentedI'm also looking for same feature.
Comment #2
asund CreditAttribution: asund commentedYou can get this by putting the following function in your themes template.php
And then you can call the function in your node template like this:
<?php print(_favorite_nodes_count($node->nid)); ?>