Active
Project:
Content Construction Kit (CCK)
Version:
6.x-2.7
Component:
CCK in core
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2010 at 23:14 UTC
Updated:
2 Jul 2010 at 23:14 UTC
Hello folks
I'm working in a drupal project with an existent installation.
The problem is when I try to add new fields to any content type, any new fields is not render in edit-form, only old fields.
Using the hook_form_alter I print the form values to determine why new fields are not render but I don't see any big difference check the code bellow for 2 link fields
[field_link] => Array
(
[field_name] => field_link
[type_name] => request
[display_settings] => Array
(
[weight] => 7
[parent] => group_item
[label] => Array
(
[format] => inline
)
[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] => link
[required] => 1
[multiple] => 0
[db_storage] => 0
[module] => link
[active] => 1
[locked] => 0
[columns] => Array
(
[url] => Array
(
[type] => varchar
[length] => 2048
[not null] =>
[sortable] => 1
)
[title] => Array
(
[type] => varchar
[length] => 255
[not null] =>
[sortable] => 1
)
[attributes] => Array
(
[type] => text
[size] => medium
[not null] =>
)
)
[attributes] => Array
(
[target] => _blank
[rel] =>
[class] =>
[title] =>
)
[display] => Array
(
[url_cutoff] =>
)
[url] => 0
[title] => value
[title_value] => click here
[enable_tokens] => 0
[validate_url] => 0
[widget] => Array
(
[default_value] => Array
(
[0] => Array
(
[url] =>
)
)
[default_value_php] =>
[label] => The link to the item you want to send
[weight] => 7
[description] => Find the web page of the specific item you want to send, as if you were going to order it yourself. Copy the url (the link to the page) from the field at the very top of your browser window and paste it here. It will usually be quite long and start with "http://www..."
[type] => link
[module] => link
)
)
[field_link4] => Array
(
[field_name] => field_link4
[type_name] => request
[display_settings] => Array
(
[weight] => 7
[parent] => group_item
[label] => Array
(
[format] => inline
)
[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] => link
[required] => 1
[multiple] => 0
[db_storage] => 0
[module] => link
[active] => 1
[locked] => 0
[columns] => Array
(
[url] => Array
(
[type] => varchar
[length] => 2048
[not null] =>
[sortable] => 1
)
[title] => Array
(
[type] => varchar
[length] => 255
[not null] =>
[sortable] => 1
)
[attributes] => Array
(
[type] => text
[size] => medium
[not null] =>
)
)
[attributes] => Array
(
[target] => _blank
[rel] =>
[class] =>
[title] =>
)
[display] => Array
(
[url_cutoff] =>
)
[url] => 0
[title] => value
[title_value] => click here
[enable_tokens] => 0
[validate_url] => 0
[widget] => Array
(
[default_value] => Array
(
[0] => Array
(
[url] =>
)
)
[default_value_php] =>
[label] => The link to the item you want to send
[weight] => 7
[description] => Find the web page of the specific item you want to send, as if you were going to order it yourself. Copy the url (the link to the page) from the field at the very top of your browser window and paste it here. It will usually be quite long and start with "http://www..."
[type] => link
[module] => link
)
)
Drupal core and all modules are up to date, any idea or suggestions.
Regards,
enzo