On Thu, 5 Aug 2010 11:46:30 -0400 A-NO-NE Music <madflute@anonemusic.com> wrote:
The Fivestar config page tells you to go to your content type, where you can engage Fivestar without CCK. Have you checked your content type?
Yeah but I need to control the widget. I don't need to rate the node, I need to rate content (that's not a node) to which the node refers to. I'd like to put several widgets in the node edit form. I hope I could exploit further fivestar avoiding to build my own submit hook. eg. I was hoping to be able to write something like: $form['fs1'] = array( '#type' => 'fivestar', '#content_id' => 1, // some layout parameters etc... ... ); $form['fs2'] = array( '#type' => 'fivestar', '#content_id' => 2, ... ); and in hook_insert/update something like fivestar_magic($node); that will invoke the votingapi functions... or just use ajax or whatever... -- Ivan Sergio Borgonovo http://www.webthatworks.it