imagefield_import taxonomy not seen
mathias2711 - December 21, 2008 - 11:39
| Project: | Imagefield Import |
| Version: | 5.x-1.3 |
| Component: | User interface |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Under "admin/content/imagefield_import" the Taxonomy view is not seen, and so you can not import any pictures into a special taxonomy.
with the version 5.x-1.2-beta you can choose a taxonomy item and add the pictures to this item.

#1
Ran smack dab into this... Imagine my surprise when the client called to say that the Taxonomy dropdown didn't appear that my instructions called for. *grin*
So I added this piece back in from 1.2beta
//get the content type and field names$targetsetting = variable_get('imagefield_import_fieldname', FALSE);
list($type, $field) = split(":::", $targetsetting);
And replaced
$form['type'] = array('#type' => 'value', '#value' => 'image');$form['#node'] = new stdClass();
$form['#node']->type = 'image';
taxonomy_form_alter('imagefield_node_form', $form);
with
$form['type'] = array('#type' => 'value', '#value' => $type);$form['#node'] = new stdClass();
$form['#node']->type = $type;
$form_id = $type . '_node_form';
taxonomy_form_alter($form_id, $form);
And re-enabled the following commented out section.
if (module_exists('taxonomy')) {$node->taxonomy = $taxonomy;
}
I suspect that all this was removed in dealing with the commenting issues
#2
Fixed in D5 v1.4, wrong file committed, sorry for the huge delay---
#3
Automatically closed -- issue fixed for 2 weeks with no activity.