| Project: | Taxonomy Super Select (TSS) |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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.
Comments
#1
i cant get any term images to show as well. any help? did you ever get this figured out?
#2
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
#3
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.
#4
I don't use taxonomy image. Can anyone submit a patch or review this approach?
#5
Woops, sorry.. it was indeed 139 :) in the latest dev it's much lower though.. anyway, here's a patch, hope this helps o/
#6
I confirmed #5 is working !
Thanks for the patch !
#7
I rerolled that patch and committed http://drupal.org/cvs?commit=459840
#8
Automatically closed -- issue fixed for 2 weeks with no activity.