Closed (won't fix)
Project:
Taxonomy Role
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2008 at 23:31 UTC
Updated:
21 Feb 2011 at 17:31 UTC
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
Comment #1
david lesieur commentedFixed in the Drupal 6 version. Drupal 5 version is no longer maintained.