I have a view with the list of nodes, how can I put the widget to rate the nodes next to title?
Note: I'm already using the Rate module. But it returns me only the results.
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
So what you need to do, is to configure the field "
Votes:Value". As you can see in my image above, within the Appearance Dropdown I selected
Rate Widget (compact). if you only have "Rate Widget option or Default" (as in your comment, it's probably because you have not yet added the required Relationships to your view.
Relationships is a way to join tables from another module. To get you going with this also, have a look at the next image:
Some more details about the 3 (numbered) annotations I added in this image:
Votes:Value(that is: because of the relationship that was added, you'll be able to select this specific field from the list of available fields when you try to add an extra field).
It is usually done by a module, yet none of the major modules is ready for Drupal 8.
Try fivestar: It has a longtime supported Drupal 7 version and also a github dev for 8 (can't tell how stable).
More information for further investigation in this article.
If you are a programmer, I encourage you to consider porting Fivestar for Drupal 8.
Then, after installing to module, add rating field for each node, and make sure it is part of the view, as you would for usually any other field.