Adding the following code to auto_nodetitle.module will enable Automatic Nodetitles to work with batch imported nodes.

Any chance this might make official code?

/*
 * CJB:Hook for batch-importing nodes using node_import module
 */
function auto_nodetitle_node_import_prepare (&$node, $preview) {
 if ((auto_nodetitle_get_setting($node->type) == AUTO_NODETITLE_ENABLED) || ((auto_nodetitle_get_setting($node->type) == AUTO_NODETITLE_OPTIONAL) && empty($node->title))) {
      auto_nodetitle_set_title($node);
    }
}

Comments

Robrecht Jacques’s picture

Project: Automatic Nodetitles » Node import
Status: Needs review » Fixed

Moved to node_import issue queue.

Will be fixed in 5.x-1.3. Thanks!

iantresman’s picture

Just for reference, here is the link to "Automatic Nodetitles", a "module that allows hiding of the node title field. To prevent empty node title fields".

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.