Active
Project:
Term Display
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2008 at 14:22 UTC
Updated:
22 Jul 2009 at 07:32 UTC
Hello,
Thank you for this great module... I seeked a long time for such a feature...
Thus I will ask you and the community for some improvements, considering your will and possibilities:
This one seems minor but I still need it: bringing back the onmouseover caption on terms, which usually displaies the description of the terms (check the screenshot called a_drupal_axo_term_caption.png for precisions about what I mean by caption). Apparently, Term_display does not handle it yet.
| Comment | File | Size | Author |
|---|---|---|---|
| a_drupal_axo_term_caption.png | 3.97 KB | doc2@drupalfr.org |
Comments
Comment #1
nedjoI see the point. Personally I've never been happy with the term description field. What is it for? If it's only for a title attribute, that should be clear. There are many uses that would make it inappropriate (e.g., too long) for a title.
Comment #2
doc2@drupalfr.org commentedI see. Thank you for this clear answer.
Comment #3
doc2@drupalfr.org commentedSomething about theming terms' display WITH tooltips.
Comment #4
joachim commentedThis is doable with theming and the load option.
Comment #5
psobrino commentedHello,
I write a little code in term_display.module that make a similiar function: display the term description below the custom display of term(s).
I need use this for the vocabulary "Author", where description field is a biography for the writer of the article. See my site (http://www.herramienta.com.ar) for the results.
(sorry for my english)
Comment #6
joachim commentedHi psobrino.
The idea of theme functions is that you can override them in your theme's template.php, and thus customize what they do without altering the module.
Check the theme guide for more information on how this works.
Once you've done that, perhaps you've like to add your custom function to our documentation page?
Comment #7
psobrino commentedHi joachim.
Thanks for you correction! I'm new in Drupal and not know very well the correct form of coding...
I take your suggestion and move the new code to the template.php file of my theme and work fine!
And of course, I really like to add this (very little) code to documentation when I have time for it (in this week).
Thanks again for this usefull module.
Comment #8
rstamm commentedhi psobrino,
it's important to use check_plain() or filter_xss_admin() in your code to prevent security holes.
e.g.
Comment #9
rstamm commented