I am incorporating fivestar into the activity and I am using views. When a user rates a node I am making it so that the activity shows what the user rated. But if a user creates a node it shows the rating for that node which can be empty. How can I hide or disable the stars from showing for just creating nodes, but show for those rating a node?

Comments

Scott Reynolds’s picture

How can I hide or disable the stars from showing for just creating nodes, but show for those rating a node?

rephrased

How can I hide output of 5 star field for nodes that have no rating

Options:
1.) upgrade to Views3 and use Hide if Empty on the Fivestar field.
2.) Copy the hide if empty code into a preprocess_views_view_fields

The code to look at is on 147 of here: http://drupalcode.org/viewvc/drupal/contributions/modules/views/theme/th...

_shy’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

D6 reached its EOL back in February 2016, and there is no active release for D6 for this module anymore.
Development or support is not planned for D6. All D6-related issues are marked as outdated in a bunch.

If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.

Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.