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

Chris Bray’s picture

If you're using auto_nodetitle to set your titles there's a patch at http://drupal.org/node/226160 that may help.

matthew_ellis24’s picture

thanks 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

Robrecht Jacques’s picture

Status: Active » Closed (duplicate)

I've added the patch of http://drupal.org/node/226160 - will be included in 5.x-1.3.