variable_get('taxonomy_theme_selector', '') always returns the last modified taxonomy instead of the one currently being viewed. As a result, function taxonomy_node_get_terms_by_vocabulary returns null for anything thats not in the last modified taxonomy.

I have version 4.6.2 of drupal.

Comments

drupalxykon’s picture

Priority: Critical » Normal

I solved this by using variable_get('taxonomy_theme_selector|'.$vid,'')..not sure why only I had this issue. Only other taxonomy module I use is taxonomy_menu.

I have run into more problems now though (explained in another post)

profix898’s picture

Status: Active » Closed (fixed)

Issue 'closed' because it does not apply to the current version of taxonomy_theme.

drupalxykon’s picture

was it fixed for 4.6? My bug report was for 4.6