Closed (outdated)
Project:
Rate
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Oct 2011 at 15:16 UTC
Updated:
18 Sep 2025 at 11:55 UTC
Jump to comment: Most recent
Attached is a simple patch that adds a rate_embed_comment function to allow you to easily embed a widget on comments.
Very useful for ctools plugins (usage w/ panels) and views.
| Comment | File | Size | Author |
|---|---|---|---|
| 0001-added-rate_embed_comment-function.patch | 1.11 KB | that0n3guy |
Comments
Comment #1
kirillsmile commentedhm. i don't clearly underdstand how to embed comment widget. ok, i patch the module, than i try to do this like this:
print rate_embed_comment($cid, 'uservote');Comment #2
that0n3guy commentedYou have to add the node type as well:
Comment #3
kirillsmile commentedok, i got it. thanks a lot!
Comment #4
summit commentedHi, could this comment adding also be entity based, so it can be used on drupal commerce products?
greetings, Martijn
Comment #5
ivnishDrupal 7 is EOL. Issue will be closed