I have a Rating Field on my node. I tried adding the same field and different rating fields to my comments, but I never get the option for a Voting Target (as I wish to target the parent node). I check the field.inc and the code the Voting Target is there, but it just won't display for me. I'm sure I'm missing something simple, so I'd appreciate any advice/help.
I tested this in Beta 2 and Dev.
Thanks so much,
Michael
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Screen shot 2012-01-10 at 3.14.26 PM.png | 37.96 KB | InTheLyonsDen |
| #3 | Screen shot 2012-01-10 at 3.14.07 PM.png | 157.17 KB | InTheLyonsDen |
| #3 | Screen shot 2012-01-10 at 3.13.36 PM.png | 52.76 KB | InTheLyonsDen |
| #3 | Screen shot 2012-01-10 at 3.13.23 PM.png | 72.14 KB | InTheLyonsDen |
| #3 | Screen shot 2012-01-10 at 3.13.12 PM.png | 116.6 KB | InTheLyonsDen |
Comments
Comment #1
InTheLyonsDen commentedI just installed and tested both the current dev and alpha versions and the "Voting target" for the node_reference field form options are missing. I have an Item and Review content types built with a working node reference between them. I added Fivestar and the only option is to select the term. I am looking through older commits to see if it was lost. Please help... launching a site this week that is dependent on this functionality.
I did find a reference to the menu item in fivestar.field.inc in a commit back in July (http://drupalcode.org/project/fivestar.git/blob/HEAD:/includes/fivestar....) This code is not in the current version. I tried "throwing it in" but it's a little above my skill level.
Comment #2
ericduran commentedThis should be in the latest dev.
You need to have the node reference field already created. Do you have a reference field created already?
If so when you do then go back to the fivestar field and you should get the option.
Comment #3
InTheLyonsDen commentedYep. Node Reference (latest dev version of references) is created and working with content on it. Fivestar added to content type. No menu item. I also tried removing the node reference field added fivestar then re-added the node reference.
Please tell me I'm missing something... :) I added screenshots of all menues.
Comment #4
ericduran commentedTry changing the nodereference widget type. I notice you have from url. When I wrote the functionality that wasn't an avialable option. Try using one of the basic widgets see if that works?
Comment #5
InTheLyonsDen commentedYou had me excited... but no go. I switched the widget type and nada. I then deleted both the node reference and fivestar fields, re created node reference and fivestar using basic widget settings and nothing.
Comment #6
InTheLyonsDen commentedJust for kicks ( I don't want to use comments for reviews) I added a fivestar field to comments and I am not seeing the option to set to 'parent' target.
I'm using current dev releases for references, votingapi, and fivestar.
Comment #7
ericduran commentedOk, checking this out right now.
Comment #8
ericduran commentedActually I just notice you have the rated while viewing fivestar widget. That widget doesn't support reference because that would be a weird UI experience for the user. If you want the vote to target another vote you need to use the "Rated (while editing) widget"
Comment #9
InTheLyonsDen commentedYou are a genius! That is about the only option I had not fidgeted with. Hmmm... it also exposed the "STAR DISPLAY OPTIONS" in the edit box. I had been setting them in the field display.
So... want to go 2 for 2? :)
#1399800: Need to Import 9k Votes - Votingapi_cache not being rebuilt
-or-
#1268658: Fivestar support
I need to import bunches of votes that are attached to views and Firestar isn't playing nice with Feeds.
Thanks again!
Comment #10
ericduran commented@InTheLyonsDen would you like to help out a bit? And write a documentation page on setting up a node reference ;-) ?
Comment #11
Energyblazar commentedHello,
What should i do if i want the fivestar to target the parent (content type) and also reference is to profile 2 (nodereference / User reference / Entity Reference anything will work for me)
Any clues ?
Comment #12
ericduran commented@Energyblazar create a new issue, I'll help you out there. But in short I only wrote references for node and user reference. I didn't write any for profile2 but I can.
The original support request has already been fixed. I'll follow up on new issues.
Comment #13
Energyblazar commentedThanks ericduran..... here is link to the new issue that i created .... http://drupal.org/node/1481502