Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Taxonomy Term Glossary

Security covered Under active development 278 sites

This module automatically finds and links taxonomy terms within your content, creating a glossary effect. It can display definitions in pop-up windows or tooltips and offers a block for alphabetical browsing or searching of glossary terms.

This flexible module uses a vocabulary (taxonomy) as a glossary.
it auto scans the fields (you configure it to) for uses of taxonomy terms defined in your vocabulary.

Features

  • Javascript & normal hooks (see term_glossary.api.php)
  • Custom block to search by term, or letter (like simple glossary)
  • Auto scan and tag terms in content.
  • Generate an HTML link (4.4+) or a jQuery modal popup to display the term content or use a custom JS implementation.

Version 4.2+

  • Multiple vocabularies for a glossary.
  • Better handling of multilingual vocabularies.
  • Case-sensitive matching of terms.
  • Single occurence term matching across the entire entity content.
  • Enable/disable glossary on a per node basis via a new submodule.
  • Use a Taxonomy Term display view mode for popup html content.
  • Exclude any HTML elements that have the glossary-exclude class.
  • Exclude some specific HTML tags from parsing.
  • New hook allowing to override the generated matched term HTML.
  • New plugin mechanism allowing better extensibility of the module.
  • Allow per-term matching options.
  • Allow the use of term synonyms.
  • New plugin displaying term descriptions in tooltips using the Tippy.js Javascript library.
  • Some characters can be excluded from being word boundaries (ex: "-"), both globally and on a per-term basis (version 4.3+).
  • Exclude self-references: prevent glossary links when a term appears in its own content, including synonyms. (version 4.4+).

Version 3.0.x

It will auto tags the recognised terms on render.
-> The fields content are not modified in database.

Installation:

  1. Install the module with composer and enable it.
  2. Goto admin/config/glossary and select your vocabulary and the integration type
  3. Save the config form
  4. Adjust the display options of the text fields you want to parse in the entity
    display forms and check the option "Enable term glossary"
  5. If the integration type is "Jquery ui dialog with the term name and description" you can click the highlighted terms in content to display a definition in a modal (see hooks for total control)
  6. (Optional) Place a "Glossary alphabetical bock" as a new block some where where you want to have a glossary page.
  7. (Optional) - Select which you want to display. (letters, search box or both)

Old Versions 8.x-1.0 and 2.0.x

On save It will auto tags the recognised terms for use in a modal box (default but allows for your custom implementation).
-> The tags are added in fields content in database, and will remain after module uninstall.

Fields Accepted for auto scan and term replace are:
text_with_summary, text_long, string_long, text, entity_reference, entity_reference_revisions

Installation:

  1. Install the module with composer and enable it.
  2. Goto admin/config/glossary and select your vocab, content type and fields
  3. Save the config form
  4. Create new content of the type you selected and load up on the keywords (terms)
  5. If "Jquery ui dialog with the term name and description" you can click the link to display a definition (see hooks for total control)
  6. (Optional) Place a "Glossary alphabetical bock" as a new block some where where you want to have a glossary page.
  7. (Optional) - Select which you want to display. (letters, search box or both)

This was heavily influenced by:
https://www.drupal.org/project/simple_glossary
and
https://www.drupal.org/project/glossary


The 8.x-1.0 branch will not receive any updates.
The 2.0.x branch is the Drupal 9 upgrade of this module and should be fully compatible with websites using the 8.x-1.0 branch,
The 3.0.x branch is a refactorization and works on render instead of modifiying content. This branch is not supported anymore.
The 4.1.x branch delivers the module's initial support for Drupal 11.
The 4.x branch is used for ongoing development.

Alternatives

  • Glossify: implemented as text format filters. Handle nodes in addition to taxonomies.
Drupal 10–11

Ask your assistant about Taxonomy Term Glossary

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
44
Tracked since
Aug 2023
Latest release
5 days ago
Releases (12 mo)
13 ▼ from 27
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
4.0.0-beta2 Pre-release 9–10 Oct 4, 2024
4.0.0-beta1 Pre-release 9–10 Aug 14, 2023
4.0.x-dev Dev 9–10 Aug 14, 2023
3.0.0-rc1 Pre-release 8–9 Aug 14, 2023