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.
I would like to request a port of http://drupal.org/project/taxonomy_theme to category, or is there any guide to migrate taxonomy modules to category. I could poke around in category's source file, but is there some documentation out there?
Comment | File | Size | Author |
---|---|---|---|
#2 | category_theme.zip | 2.89 KB | decafdennis |
Comments
Comment #1
decafdennis CreditAttribution: decafdennis commentedI created such a module, and have contacted the category project maintainer about it. To be continued.
Comment #2
decafdennis CreditAttribution: decafdennis commentedHere is the category_theme module. Not exactly a port of taxonomy_theme, but for now it does what needs to be done. Allows configuring of a custom (enabled) theme for every category or container in their respective node forms. When viewing a node (a container, a category or a node that's in a category), the context is determined and the first custom theme it finds (it traverses to the top of the hierarchy), it applies. Multiple hierarchies/parents are not fully supported (it uses the first parent it stumbles upon).
If I'm going to commit this I will add a
hook_help
and some more comments and such.Thanks.
Comment #3
decafdennis CreditAttribution: decafdennis commented