I've been using node import for a while and have been able to use it successfully. However, I have created a content type that requires five star rating for which I have set the default to 3 stars. When I import, that field is not populated because the import seems to have overwritten my settings. Is there a way that I can fix this. I tried searching but could not find a fix. I thought of adding custom php code to tell five star to set the rating when doing the import and thought I would find this suggestion or the code somewhere but was unsuccessful. Any recommendations would be greatly appreciated as I have thousands of records that I want to import and certainly dont want to individually edit or add them. Thanks.

Comments

marciaj’s picture

Can someone please reply to this request? Thanks.

marciaj’s picture

Not to worry, I figured out how to do this.

aren cambre’s picture

Status: Active » Closed (fixed)

Issue owner says he figured it out.

OptimusPrime23’s picture

Hi
Im facing a similar issue as that of yours I have a a node and its corresponding fivestar ratings.For each node i need the rating to be set as 3 stars initially before even someone has voted.
Could u pls help me with this?

marciaj’s picture

Sorry I didnt see this note until now. The reason why my import was not working was because you can only use numbers in increments of 20. I didnt realize that until I had done a number of imports. You can set the default for the content type to 3 stars for new content. I tried updating the status of existing nodes in my database (but I cant remember which table - it may have been node) but the rating only appears when I do a list (from views) and when I go to the individual node, the rating is unchanged.