Closed (fixed)
Project:
Content Taxonomy
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Dec 2008 at 21:34 UTC
Updated:
10 Jan 2009 at 14:10 UTC
content_taxonomy_allowed_values() uses theme_optionwidgets_none() to theme the label for empty values added for non required fields, but that only supports widgets provided by the content module itself.
The attached patch fixes this. It's against the D6 branch of the content_taxonomy module.
| Comment | File | Size | Author |
|---|---|---|---|
| content_taxonomy.theme_none.patch | 1.66 KB | markus_petrux |
Comments
Comment #1
mh86 commentedI committed the patch with 2 changes:
- moving the theme function and it's hook into the content_taxonomy_options.module
- instead of adding 'N/A' to all radios, only to optional radios (so same behavior as before)
Thanks for the patch!
Comment #2
markus_petrux commentedhmm... it seems to me that your fix adds '--None--' to required select lists.
Maybe something like the following?