Hey guys,

Awesome module, super cool...but for some reason the taxonomy image situation isn't working on the node add form. . I checked the forums and found this post, http://drupal.org/node/314264, but I guess this was the post that got the integration started in the first place. The problem is that the taxonomy image icons I add for each term in the list are not appearing. I have the permissions set right, im on user 1, I double and triple checked the settings but I can't seem to figure out why they aren't appearing.

Is there any known issue that might prevent these from appearing? On the taxonomy image menu I have everything set to show properly as far as I can tell.

Any thoughts would be really appreciated, I'm really excited about getting this to work.

Thanks a ton.

CommentFileSizeAuthor
#5 taxonomy_image.patch590 bytesarski
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

JoshW’s picture

i cant get any term images to show as well. any help? did you ever get this figured out?

arski’s picture

Version: 5.x-1.11 » 6.x-1.0

In D6, you can apply this simple fix:

In taxonomy_super_select.module, after line 193
$form_branch[$term->tid] = _tss_branch($vid, $term, $value, $input, $fieldweight++);
add:
if ($tss[$vid]['image']) {
$image = taxonomy_image_display($term->tid);
$form_branch[$term->tid]['#title'] = $image.' '.$form_branch[$term->tid]['#title'];
}

It appears that while the image setting is saved, its never used inside the module, thats why nothing happens. Would be nice to see a fix :)

Cheers

groovedork’s picture

Wow, that works THANK YOU SO MUCH! It's 4:26 am here and this was bugging me like crazy.

One note for future finders: it's not after line 193 but after line 139 that you'll need to paste the patch code.

jcisio’s picture

Category: support » bug

I don't use taxonomy image. Can anyone submit a patch or review this approach?

arski’s picture

Version: 6.x-1.0 » 6.x-1.x-dev
Status: Active » Needs review
FileSize
590 bytes

Woops, sorry.. it was indeed 139 :) in the latest dev it's much lower though.. anyway, here's a patch, hope this helps o/

sw3b’s picture

I confirmed #5 is working !
Thanks for the patch !

jcisio’s picture

Status: Needs review » Fixed

I rerolled that patch and committed http://drupal.org/cvs?commit=459840

Status: Fixed » Closed (fixed)

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