Download & Extend

Selecting "disabled" does not disable taxonomies, hidden wont work with Taxonomy Defaults

Project:Taxonomy Role
Version:5.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

When selecting "disabled" for a taxonomy at "admin/settings/taxonomy_role", that taxonomy does not end up disabled for a user who does not have an accessible role. The reason I chose to use disabled over hidden is because it was not allowing Taxonomy Defaults to set the default value I created for the taxonomy.

To overcome this, I replaced line 55 ($form['taxonomy'][$vid]['#disabled'] = TRUE;) with $form['taxonomy'][$vid]['#attributes'] = array('style' => 'visibility: hidden');

This hides the taxonomy and allows Taxonomy Defaults to set the default value.

I am using Drupal 5.11. Thanks for the great module.

Comments

#1

Status:active» closed (won't fix)

Fixed in the Drupal 6 version. Drupal 5 version is no longer maintained.