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.
Comment | File | Size | Author |
---|---|---|---|
#5 | taxonomy_image.patch | 590 bytes | arski |
Comments
Comment #1
JoshW CreditAttribution: JoshW commentedi cant get any term images to show as well. any help? did you ever get this figured out?
Comment #2
arski CreditAttribution: arski commentedIn 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
Comment #3
groovedork CreditAttribution: groovedork commentedWow, 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.
Comment #4
jcisio CreditAttribution: jcisio commentedI don't use taxonomy image. Can anyone submit a patch or review this approach?
Comment #5
arski CreditAttribution: arski commentedWoops, sorry.. it was indeed 139 :) in the latest dev it's much lower though.. anyway, here's a patch, hope this helps o/
Comment #6
sw3b CreditAttribution: sw3b commentedI confirmed #5 is working !
Thanks for the patch !
Comment #7
jcisio CreditAttribution: jcisio commentedI rerolled that patch and committed http://drupal.org/cvs?commit=459840