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
Comment #1
Robrecht Jacques commentedMoved to node_import issue queue.
Will be fixed in 5.x-1.3. Thanks!
Comment #2
iantresman commentedJust 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".
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.