Jump to:
| Project: | Imagefield Import |
| Version: | 6.x-1.8 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | wulff |
| Status: | postponed (maintainer needs more info) |
Issue Summary
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
#1
Update:
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
#2
I 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?
#3