Hello, I'm importing quite a lot of data and I want to use one of my fields as the node title using tokens. When I import them they're titleless, but if I open them and save without actually editing them it sets the title properly. Obviously it can't set the title when you import them because the field the token refers to hasn't been set yet. But is there anyway to retrospectively set once the database has been populated without having to open and save 2000 nodes?
Comments
Comment #1
Chris Bray commentedIf you're using auto_nodetitle to set your titles there's a patch at http://drupal.org/node/226160 that may help.
Comment #2
matthew_ellis24 commentedthanks I'll give it a try. I'd actually shelved this part of the project and moved on to trying to get a store up and running. When I'm done with that I'll move back to this and try again :D thanks!
Matt
Comment #3
Robrecht Jacques commentedI've added the patch of http://drupal.org/node/226160 - will be included in 5.x-1.3.