Closed (fixed)
Project:
Name Field
Version:
6.x-1.4
Component:
User interface
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jun 2011 at 14:30 UTC
Updated:
22 Jun 2011 at 07:52 UTC
After installing the "name" module, when I edit any field (or create a new one) additional explanation for the "name module" displays at the bottom. Expected behavior is to see this help text only when the field type is "name".
Namely, even when the field type is not "name", the following text is displayed after "default value"
Field Title Given Middle name(s) Family Generational Credentials
- The title display controls how the label of the name component is displayed in the form. "above" is the standard title; "below" is the standard description; "hidden" removes the label.
- The HTML size property tells the browser what the width of the field should be when it is rendered. This gets overriden by the themes CSS properties. This must be between 1 and 255.
- The inline style property tells the browser what the width of the field really should be when it is rendered. This is dynamically calculated from the HTML size property.
and at the very bottom just after the allowed values section the following text is displayed:
Field Title Given Middle name(s) Family Generational Credentials
Sort options 5Only selected components will be activated on this field. All non-selected components / component settings will be ignored.
Warning! Changing this setting after data has been created could result in the loss of data!The minimal set of components required before considered the name field to be incomplete. The maximum length of the field in characters. This must be between 1 and 255.
Warning! Changing this setting after data has been created could result in the loss of data!The labels are used to distinguish the fields. You can use the special label "" to hide this. This enables sorting on the options after the vocabulary terms are added and duplicate values are removed.
This is show stopper since help text becomes confusing for content providers.
Comments
Comment #1
osmanditto.
subscribing.
Comment #2
alan d. commentedSorry, no testing of Drupal 6 stuff at the moment, but I think that I found and just committed a fix in the latest dev version. A quick fix is to ensure that the following condition is meet in the name.module code:
This is removing the ! from the very start of the if statement (between the "if (" and "$field").
Comment #3
alan d. commented[edit: double post]