Node title is only taking the first token value when using node_import
martinst - March 3, 2008 - 21:24
| Project: | Automatic Nodetitles |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I am using node_import to create nodes from a csv file. I have set Nodetitles to use a token that is a cck integer [field_mbno-formatted].
When I run the node_import it correctly assigns the first value of field_mbno to the title but on all the subsequent nodes it uses this same value rather than using the new values of field_mbno. This gives all the imported nodes the same title.
In the call to Nodetitles from node_import does a variable or array need to be cleared for it to pick up the new value or could it be a problem with the token values being passed?

#1
There's a simple workaround using the Rules (or Workflow-ng) module
See http://drupal.org/node/360359#comment-1460918