If you review this topic here:
...you will see I've extended template_theme so that the section rollups (overview/list of all nodes in a category) also use the appropriate theme. Feel free to copy my code if you like it. It's a single-line change, not big at all.
However, there is one weakness with it. If there are NO nodes in a category yet, the theme won't apply. Why is that, and do you have advice on how to get around that?
-Tony
Comments
Comment #1
drupalxykon commentedI think you will have to patch taxonomy.module
function taxonomy_node_get_terms_by_vocabulary($nid, $vid, $key = 'tid') . It's not entering the 'while' loop if there are no nodes in the taxonomy term.
Well, thats where Im looking anyway
Regards,
V
Comment #2
drupalxykon commentedTo reply to the original poster I think you will find that there is a join between term_data and term_node and if no posts exist term_node will not have an entry.
this is probably why you wont see the theme applied.
-v
Comment #3
profix898 commentedIssue closed since the patch does no longer apply and
the current version should work without it.