Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello! Thanks to the developers and maintainers of this great module!
I would love to be able to theme unpublished term pages by adding a class like 'term-unpublished' to one of the wrapper elements (maybe "body", "div#block-system-main", or "div#block-system-main .content").
Thanks!
Comments
Comment #1
martins.bertins CreditAttribution: martins.bertins commentedThanks for the appreciation!
It's a great idea to add the classes "term-published", "term-unpublished" to the page body. I'm sick at the moment so I will work on this as soon as I get better.
Thanks for the input to make the module even better!
Comment #2
areikiera CreditAttribution: areikiera commentedThank you so much! Feel better!
Comment #3
martins.bertins CreditAttribution: martins.bertins commentedFix commited. 4bc8af3
Depending on term status class "term-published" or "term-unpublished" is added to body.
Comment #4
areikiera CreditAttribution: areikiera commentedGlad you're feeling better, and thank you so much for this change!
Works perfectly for me! Changing to RTBC.
Comment #5
martins.bertins CreditAttribution: martins.bertins commented