When I change the theme taxonomy settings, the terms are not displayed anymore.
I selected every setting, but no taxonomy terms in the node or teaser appear.
I have just installed version 1.7.
I cleared the cache.
I have disabled modules similar by terms and taxonomy menu, but this does not help.
I will restore version 1.6 to check if the problem exists there too.
Comments
Comment #1
tomsm commentedI have restored to version 1.6 and the problem has disappeared.
Then I updated to 1.7 again:
I deleted the entire acquia marina folder from sites/all/themes and then copied the new 1.7 version to it:
so without any changes.
The problem still exists. I just saved the configuration without changing anything and the terms are gone.
The taxonomy setting shows "Hide" instead of "Display" vocabulary.
Maybe something goes wrong with this latest change added to 1.7:
http://drupal.org/node/446080
Comment #2
tomsm commentedI have verified the fixes in http://drupal.org/node/446080, and they work.
But the code in 1.7 theme-settings does not and in template.php ==1 must by ==0.
Comment #3
summit commentedYes, I changed:
to:
Now it works, thanks for the update, and please commit the change!
Greetings,
Martijn
Comment #4
tomsm commentedI have changed == 1 to == 0, but this is not enough.
There is also something wrong in theme-settings.php:
has to be:
"hide" has to be replaced with "display" in two places.
Comment #5
jwolf commentedThanks for catching this!
I committed the fix and will be available in the latest dev-snapshot and new release > 6.x-1.8
Comment #6
jwolf commentedThe following works:
template.php:
and
theme-settings.php:
The problem was that I didn't changed _display_ to _hide_ and missed the != 1 in template.php:
if (theme_get_setting('taxonomy_vocab_hide_'. $taxonomy_content_type .'_'. $vocabulary->vid)!= 1) {Fix applied to 6.x-1.9 release of theme.
Please clear cache @ Administer > Performance > "Clear cached data" ( or /admin/settings/performance )