'fivestar_preview' => array(
  'arguments' => array('style' => NULL, 'text' => NULL, 'stars' => NULL, 'unvote' => NULL, 'title' => NULL, 'labels_enable' => TRUE, 'labels' => array()),
),

In function fivestar_preview

$output = theme('fivestar_preview', $style, $text, $stars, $unvote, $title ? NULL : FALSE, $feedback_enable, $labels_enable, $labels);

what $feedback_enable would be here?

Comments

chx’s picture

Title: fivestar_preview broken theme call » fivestar_preview broken theme definition

Working more, I realize the theme definition is broken and you need to update fivestar_form_node_type_form_alter (i think it was just generic form_alter before) too -- it has the form field but does not pass to the theme.

chx’s picture

Assigned: chx » Unassigned

Oh and this will be fixed in D7 but I am not going to patch 6.x now, sorry.

marc angles’s picture

Does this mean that fivestar preview might be broken in D6 ?
I just tried to install it (6.x-1.20) on an up to date D6 and there is no preview in the settings neuther on the content type setting page...
On the node, the block is there, the form is present but empty. No error in the logs.

This module works very well ;-)

My problem is at the theme level

whiteph’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

We can no longer support the Drupal 6 version of Fivestar. It is in security maintenance mode only. When the Drupal 8 version of Fivestar is released, the Drupal 6 version will be officially deprecated.

whiteph’s picture