I am currently digging around the net to see how to do this. My guess is I need a field display filter for your module? Does anyone else see the usefulness in this?

We are displaying properties and listing their greenness factor, these are qualities based on our companies specifications, I thought it would be nice for folks to just mouseover the term for the definitions. Rather than visiting our term information pages.

I cant think of a way to do this themeside just yet and really thought this might be better as a field filter integrated into the content_taxonomy module.

I was also considering using a view to pull in all relevant fields and use some jquery magic to facilitate the hovertips.

Comments

xjm’s picture

I think it would be possible to do this in the theming layer. Your theme override would have to include a call to taxonomy_get_term() on the field's value element for each term. That would give you a term object, which would include the description for you to use in your theme however you choose.

Macronomicus’s picture

Status: Active » Closed (works as designed)

Thanks .. that sounds about right .. im using beautytips module now to do something similar with my events calendar module, I dont think it should be all that difficult to call the term definition or anything in a pop-up, beautytips even does ajax calls.

Marking this as by design since it seems the feature request is not needed, I just had to learn a few more things first before I realized how easy it was lol.

Cheers!

mastoll’s picture

Wait! I want that feature!

I'm using Content Taxonomy and would like to hover over each term in a list (check boxes/radio buttons) to see its definition.

@macrocosm, if you were able to do this with Content Taxonomy and Beauty Tips, that's exactly what I came here to find! How did you do it?

mastoll’s picture

Veered off to other problems and now am back.

Still can't figure out how to show a term's description when hovering over the term. Of course, am using Content Taxonomy. And, need to be able to do this in the node creation form.

Any guidance, please?!

Macronomicus’s picture

I think I scraped it and went with the http://drupal.org/project/glossify module. It made everything easy as pie. That said if you write your own module I'm sure you could do what your talking about. Personally I think this feature would be nice as a standard option in content taxonomy. Check out glossify though its pretty cool.

Cheers!

mastoll’s picture

Tried Glossify and couldn't figure out how to make it work in the add/edit form. Any other suggestions?

Just a review:
I'm using Content Taxonomy in a node add/edit form to show conditional fields. I would like to over over a term and see its description before clicking on the term. Having about a dozen terms in a list, I want to show the descriptions in tool/hover tips only in order to save space.

Thanks!

Macronomicus’s picture

ahhh thats interesting I'm sure someone could make you a custom widget or you could make one for your tagging to be more intuitive.

That or you could load a block with the available tags/descriptions with a visibility toggler... prolly a lot simpler for such a small list & you could even automate the text within as an output of that particular taxonomy, so you dont have to edit that block ever.