Closed (fixed)
Project:
Taxonomy Super Select (TSS)
Version:
5.x-1.5-1
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
27 Sep 2008 at 17:14 UTC
Updated:
21 Oct 2008 at 16:11 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
nancydruNo, no one has ever asked for this before. It is an interesting concept. I think it could be done as an add-on using hook_form_alter.
Would you eliminate the text entirely or show both picture and text? It might require switching from a selection box to checkboxes/radios; are you okay with that?
Comment #2
nancydruHmm, I have it working - sort of. Unfortunately, the Forms API doesn't like HTML in the options list.
Comment #3
nancydruSomething like this?
Comment #4
yourtube commentedPrecisely!
Ideally, it would have no checkbox or text, just the image. I'm going to be using it to display glass types for drinks. The user will make a selection by choosing an image of the glass they recommend you use.
But having image taxonomy in forms can really be used for anything!
I'm already using a custom form tpl file, will that make it easier to integrate?
Comment #5
nancydruWow, have you opened a can of worms! This is not as simple as I first thought, although it should be.
First problem: browsers don't allow HTML in selection box option lists. So that means having to switch to checkboxes or radios. (And I don't think it would be possible to hide the box or circle.)
That, then, leads to several choices: In general, a simple change to Taxonomy_super_select would do it; the problem is that TSS is not supported any more. In your particular case, it sounds as though you have a CCK content type. So that gives you some CCK taxonomy options, but their futures are not guaranteed either.
So I can either effectively duplicate TSS or take it over (I really don't need another module) or tell you I won't do this. (Unfortunately, I really like the idea,)
Whether I duplicate or take on TSS, the list is ugly if the vocabulary is not completely populated with images. This means either a major effort to render the list, or I have to add the capability for a default image in Taxonomy Image (which is an outstanding feature request, I believe), and recommend its use in the case you want.
If you are really married to getting rid if the checkbox or radio, then it would require some special widget for CCK. That I can categorically decline to do.
So I have to really think hard about all these sub-issues.
Comment #6
yourtube commentedTSS sounds interesting. I've never heard of that module before!
Would it be easier to to do it as radio buttons, and just show the image (leaving the radio circle, but removing the text)?
Comment #7
nancydruI emailed the TSS owner and he said he is planning to bring the module back and create a 6.x version. I have offered some help. I think it will be much easier to add you request into TSS than to effectively recreate in in TI. So, given that, I am going to transfer this issue to the TSS queue.
TSS will give you checkboxes if the vocabulary allows multiple choices and radios if it does not.
Comment #8
nancydruThe attached patch provides Taxonomy Image support for the terms. It also fixes some line ending problems in the Css and Install files.
Comment #9
nancydruin 5.x-1.11
Comment #10
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.