Tag block doesn't show up

Created on 20 March 2023, over 1 year ago
Updated 28 March 2024, 8 months ago

Problem/Motivation

Created a taxonomy, assigned it to a couple of pages, set up TagCloud, and turned on the block. Nothing is showing up.

Steps to reproduce

  1. Running Drupal 9.5.5
  2. Added some tags to the default Tags taxonomy
  3. Applied some taxonomy terms to some pages (book pages in this case)
  4. Installed TagCloud and activated it
  5. Left config settings as is except turned off "Link term to node"
  6. Went to block layout, used default values, and placed it in left column
  7. Went back to site and there's no block
  8. Haved cleared the cache several times
  9. Checked the logs -- no errors

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Active

Version

2.0

Component

Code

Created by

🇺🇸United States chanelwheeler

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @chanelwheeler
  • 🇺🇸United States lincc_ils

    I am having this issue as well, with the following configuration:
    - Drupal 10.1.1
    - Tagclouds 2.0.5

    Setup is the same as described above. The title of the block displays, but no tags display. I've tried this with different taxonomies, placed the block in different regions, and tried different themes, and had the same experience. I am currently using this successfully with Drupal 7, and am hoping to use it with the Drupal 10 update. Thanks for any suggestions.

  • First commit to issue fork.
  • 🇮🇳India dineshkumarbollu

    Hi

    I tested the module by place tags in sidebar same issue only "title of the block displays".

    thanks

  • 🇮🇳India dineshkumarbollu

    Hi lincc_ils

    Have you checked by adding the tags while adding content? After adding the tags to the content, tags are visible in the page.

  • 🇺🇸United States lincc_ils

    Thank you dineshkumarbollu and joseph.olstad for your responses. I created a new page and a new tag cloud block, and added a new page with tags. I also ran cron after doing this. You can see the tags displaying on the page (attached), but they don't show up in the tag cloud block for some reason. Only the block title displays. Thanks

  • 🇺🇸United States MagdalenaA67

    There is an additional step to the set up. D9 site with block placement in configuration. Ensure that the machine name in the block configuration matches the machine name of your taxonomy vocabulary. This is what worked for me to get the terms to show.

    In the block configuration under vocabulary machine name add the machine name yourvocabname from /admin/structure/taxonomy/manage/yourvocabname.

  • 🇺🇸United States codesmith San Francisco

    I just installed this module on a Drupal 10 site and same issue when setting this up as a block. I get the title but no tags shown. I made sure the correct taxonomy machine name was set. My taxonomy is used for Media items though - maybe this only works with Nodes?

  • 🇺🇸United States lincc_ils

    Thank you, MagdalenaA67! I can confirm that in my case, following the steps in #8 solved this issue.

Production build 0.71.5 2024