Been trying desperately to get taxonomy term description on hover of a taxonomy term (reference field) -- on both node edit form, node display, and views pages. Anyway to hack/patch this module to do that? Say by printing $term-->description as TITLE attribute for link format. I am not a PHP coder, so my many attempts have failed.

So, more precisely, this is my use case:

Custom Content Types
Custom Fields = taxonomy term references (checkboxes)

Want the term description to show when the item checkbox on a form, the term link on node, or Views page term link is hovered.

TY!

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

vegantriathlete’s picture

Status: Active » Needs review
StatusFileSize
new5.77 KB

Patch attached to add a checkbox to indicate if you wish to have the taxonomy term description added as a title attribute in the element wrapper.

In the course of updating the README.txt, I cleaned up all the ^M at the end of lines.

danlinn’s picture

Thanks! I'll commit when I have time.

guidot’s picture

Version: 7.x-1.3 » 7.x-1.4
StatusFileSize
new6.08 KB

Rerolled patch against latest stable version.

greta_drupal’s picture

Issue summary: View changes

I did come up with another solution too, in addition to the approach that VeganAthlete and I came up with.

Great news for a reroll! I am now needing this again. Is it really so time consuming to apply this patch to the release/dev version? I'd cast a vote for this new feature inclusion too, maintainer.

chris matthews’s picture

Version: 7.x-1.4 » 7.x-1.x-dev
Issue tags: +Needs reroll

The 6 year old patch in #3 no longer applies to 7.x-1.x-dev and needs a reroll.

geoanders’s picture

Status: Needs review » Postponed
nicholass’s picture

I would like to see this in the 8.x and up version.

nicholass’s picture

Version: 7.x-1.x-dev » 8.x-1.x-dev
Status: Postponed » Needs review
nicholass’s picture

Issue summary: View changes
StatusFileSize
new53.7 KB

Screenshot of 8.x with the patch.