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?

CommentFileSizeAuthor
#2 category_theme.zip2.89 KBdecafdennis
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

decafdennis’s picture

I created such a module, and have contacted the category project maintainer about it. To be continued.

decafdennis’s picture

Assigned: Unassigned » decafdennis
FileSize
2.89 KB

Here 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.

decafdennis’s picture

Assigned: decafdennis » Unassigned