When I view the input form (i.e., non-adminstrative user viewing the form), only the title field and buttons are displayed.
While I have read several posts with similar issues, none of the solutions have worked for me (I have spent days trying to resolve this issue and have to think I am missing something obvious). I have an installation of Acquia Drupal with relatively few module groups enabled (Administration, CCK, Views, ImageCache, Date/Time) and a handful of other very common modules (Databases logging, Help, Menu, Path, PHP Filter, Taxonomy, Advanced help, Pathauto, Token). I have also installed Event and Signup (neither is related to this content type).
I have created a content type with the CCK Module, and created several fields on the Manage Fields tab and made sure that no exclude were checked on the Display Fields tab. I have also ensured that authenticated users have permission to add data for the content type. I have tried using the default form and creating a template for the form (with and without fields redefinition). Here is the output from one of the CCK fields I created (calling the print_r function from the custom template):
[field_hours_worked] => Array
(
[field_name] => field_hours_worked
[type_name] => contest
[display_settings] => Array
(
[weight] => 2
[parent] =>
[label] => Array
(
[format] => above
)
[teaser] => Array
(
[format] => default
[exclude] => 0
)
[full] => Array
(
[format] => default
[exclude] => 0
)
[4] => Array
(
[format] => default
[exclude] => 0
)
[token] => Array
(
[format] => default
[exclude] => 0
)
)
[widget_active] => 1
[type] => number_decimal
[required] => 1
[multiple] => 0
[db_storage] => 1
[module] => number
[active] => 1
[locked] => 0
[columns] => Array
(
[value] => Array
(
[type] => numeric
[precision] => 10
[scale] => 2
[not null] =>
[sortable] => 1
)
)
[prefix] =>
[suffix] =>
[min] =>
[max] =>
[allowed_values] =>
[allowed_values_php] =>
[precision] => 10
[scale] => 2
[decimal] => .
[widget] => Array
(
[default_value] => Array
(
[0] => Array
(
[value] =>
[_error_element] => default_value_widget][field_hours_worked][0][value
)
)
[default_value_php] =>
[label] => Hours Worked
[weight] => 2
[description] => The number of collective hours worked for your company in the selected month and year.
[type] => number
[module] => number
)
)
I am new to Drupal, so please let me know if I am missing any critical information.
Thanks,
Chris
Comments
_
If you have the content permissions module enabled, you also need to assign permissions to the individual fields.
Content Permission
That was it, thank you. Not sure how I overlooked that--I appreciate your taking the time to respond.
Can you only view this as
Can you only view this as administrator? Or can you not view these fields under any circumstance?
Steve Ramos
www.zapcrunch.com
I could view them as an
I could view them as an administrator, and can now view them as an authenticated user as well. Thank you for your response.