Hi,
When importing images as nodes, the Auto Alias check box is left unmarked, and thus I can't use automatically aliasing through pathauto to generate aliases for these images nodes. Is this by design? Am I missing something?
I don't think it would be necessary to expose this in admin or import_form , but it would be great if this module created nodes consistently with normal node creation default behavior...auto alias check box marked.
I took a quick look at the code, but nothing jumped out at me. Also, I'm investigating resources on how to create custom node/edit form hoping this will shed some light on how to include pahauto's auto alias checkbox field here.
Any help would be appreciated.
jwant
Comments
Comment #1
jasonawantUpdate:
Perhaps adding something to function _imagefield_import_create_node on line 781 in imagefield_import.module would do it, but what?
Something like below?
if (module_exists('pathauto')) {
$node->pathauto_perform_alias : TRUE;
}
jwant
Comment #2
wulff commentedI have tested locally with the latest version of the module, and the "automatic alias" checkbox is ticked on the imported nodes.
Which import settings are you using?
Comment #3
wulff commentedComment #4
jasonawantsupport no longer needed