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.
The current display for my thumbs up widget is:
(thumbs up image) 2 users have voted, including you.
I would like to change it to:
(thumbs up image) 2 users like this
How do I change the default tpl to accomplish this?
print $up_button;
if ($info) {
print '<div class="rate-info">' . $info . '</div>';
}
if ($display_options['description']) {
print '<div class="rate-description">' . $display_options['description'] . '</div>';
}
Comments
Comment #1
MGParisi CreditAttribution: MGParisi commentedTry the http://drupal.org/project/stringoverrides module.
Comment #2
yuhwei CreditAttribution: yuhwei commentedUse the String Overrides module and add the following to the config:
original: @count users have voted, including you.
replacement: @count users like this.