Hi,

For some reason taxonomy_theme has suddenly stopped working .

In function taxonomy_theme_nodeapi($node, $op)

If I print $custom_theme, I can see that the correct theme is being pulled from 'variable' table but it still prints the 'default theme'
---
$custom_theme = $theme_name;

echo "theme name is $custom_theme";
----

Any pointers on what could be going wrong? maybe its being reset somewhere?

I tried setting custom_theme in taxonomy_menu.module as well, but it just ignores the setting

I have also tried $GLOBALS['custom_theme']

Comments

profix898’s picture

Status: Active » Closed (fixed)

Changed status to 'closed' since the current version does no longer use hook_nodeapi.
Try the latest version instead: http://drupal.org/files/projects/taxonomy_theme-4.6.0.tar.gz