I was getting only "Disabled" on the taxonomy settings and when looking at the code you have and array like this:
array (
0 => 'taxonomy:vid',
1 => 'node:nid',
2 => 'taxonomy:tid',
)
However, the code that checks for the options set is thus:
if (in_array('tid', $properties)) {
$options[TAXONOMY_THEME_TERM] = t('Term-based');
$options[TAXONOMY_THEME_ALLTAXO] = t('All Taxonomy');
}
if (in_array('vid', $properties)) {
$options[TAXONOMY_THEME_VOCAB] = t('Vocab-based');
}
ksort($options);
//
$method = variable_get('taxonomy_theme_method', TAXONOMY_THEME_SKIP);
if (count($options) < 4) {
$message = t('Either \'Taxonomy: Term (tid)\' or \'Taxonomy: Vocabulary (vid)\' is not enabled!<br />
Please visit the <a href="@url">ThemeKey settings</a> page and select both of these properties.',
array('@url' => url('admin/settings/themekey/settings', array('query' => drupal_get_destination())))
);
drupal_set_message($message, 'error');
$method = TAXONOMY_THEME_SKIP;
}
Since the code is looking for "tid" and not "taxonomy:tid" and similarly for vid it keeps this option permanently disabled.
Comments
Comment #1
profix898 commentedPlease get the latest version of TaxonomyTheme ... which looks for taxonomy:* already.