Active
Project:
Content Taxonomy
Version:
6.x-1.0-rc1
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Aug 2009 at 14:02 UTC
Updated:
19 Nov 2011 at 09:21 UTC
I defined a custom content type with a content taxonomy field.
In "Taxonomy" I added a description for every term. When creating a new node of the new content type, the user should chose one or more of the existing terms in the content taxonomy field.
But the description of the terms is not shown; I only have the possibility to give an overall description of the field.
Does a possibility exist to show the descriptions of the terms together with the name of the terms while adding new content?
Thanks for any help
Comments
Comment #1
markus_petrux commentedComment #2
favosys commentedHi, were you ever able to do this? I'm trying to achieve the same thing. I want people to choose the taxonomy but as they choose they see what each one is (the term description).
Comment #3
mastoll commentedAm trying to do the same thing AND would like the descriptions to show only when the term is hovered. I think that if I could get the descriptions to show, I might be able to do some styling that would accomplish the hover part.
Comment #4
datarazor commentedHello,
I'm trying to solve this issue.
I've been using a eclipse to step through the maze, but I'm just getting lost and confused; I end up at the theme() function with still an un-rendered $form variable but 200+ functions to map out and at that point my brain blanks out...
The fieldset for checkboxes clearly has a space to load 'description' from the form elements in:
But by the time it gets to this function, the $element['description'] is null and so nothing gets added.
In HOOK_form_alter the 'content taxonomy' field only states the default values, not the actual loaded terms; this apparently happens later somewhere; otherwise I could have done some surgery via this method.
I believe I basically want to hook into the process, via a theme-hook or module-hook, and alter the output of the check boxes that are being shown to include "description" -- which can then be displayed as hover text.
It currently outputs:
Desired output is:
The data is in the term's table, somewhere along the chain the data is loaded by the cck-content taxonomy module, or theme hook, the exact place is still elusive to me...?
If anyone knows where or how to add description to cck check box renderings, even as a "hack" with a second term load to populate the form's $output, that would be appreciated.
I'm posting this question here as well as on the issue queue, in the hopes that perhaps someone with more framework understanding can guide me along my windy path.
Thanks!
Sebastian.