HI there,
In one of my cck types I have a date field, in field's data settings :: multiple section I denoted that the field is "repeated" and every thing was okay, till I decided to export this content type and import it into other drupal installation to find that the imported date field has "Unlimited" choice marked instead of "repeat" in data settings.
- I'm using php 5.2
- here is an export of my date field:-
$content[type] = array (
'name' => 'Program',
'type' => 'program',
'description' => '',
'title_label' => 'Title',
'body_label' => '',
'min_word_count' => '0',
'help' => '',
'node_options' =>
array (
'status' => true,
'promote' => true,
'sticky' => false,
'revision' => false,
),
'comment' => '0',
'forward_display' => 1,
'old_type' => 'program',
'orig_type' => '',
'module' => 'node',
'custom' => '1',
'modified' => '1',
'locked' => '0',
'ant' => 0,
'ant_pattern' => '',
'ant_php' => '',
);
$content[fields] = array (
0 =>
array (
'widget_type' => 'date_popup',
'label' => 'Airing',
'weight' => '5',
'default_value' => 'blank',
'default_value_code' => '',
'default_value2' => 'same',
'default_value_code2' => '',
'input_format' => 'd/m/Y H:i:s',
'input_format_custom' => '',
'year_range' => '-3:+3',
'increment' => '1',
'advanced' =>
array (
'label_position' => 'above',
'text_parts' =>
array (
'year' => 0,
'month' => 0,
'day' => 0,
'hour' => 0,
'minute' => 0,
'second' => 0,
),
),
'description' => '',
'group' => false,
'required' => 1,
'multiple' => '1',
'repeat' => 0,
'todate' => 'required',
'granularity' =>
array (
'year' => 'year',
'month' => 'month',
'day' => 'day',
'hour' => 'hour',
'minute' => 'minute',
),
'output_format_date' => 'm/d/Y - H:i',
'output_format_custom' => '',
'output_format_date_long' => 'l, F j, Y - H:i',
'output_format_custom_long' => '',
'output_format_date_medium' => 'D, m/d/Y - H:i',
'output_format_custom_medium' => '',
'output_format_date_short' => 'm/d/Y - H:i',
'output_format_custom_short' => '',
'tz_handling' => 'site',
'timezone_db' => 'UTC',
'repeat_collapsed' => '0',
'field_name' => 'field_airing',
'field_type' => 'date',
'module' => 'date',
'label_position' => 'above',
'text_parts' =>
array (
),
),
);
Comments
Comment #1
Remon commentedcould anybody help me please ?
Comment #2
arlinsandbulte commentedping,
is this still valid?
Comment #3
arlinsandbulte commentedVersion 5.2 is critical bugfix only, no other support, no new features.