Submitted by aedowd on Thu, 03/24/2011 - 17:04.
$content[type] = array (
'name' => 'Shout Out',
'type' => 'shout_out',
'description' => 'Use this content type to create shout out boxes on the UofC home page.',
'title_label' => 'Title',
'body_label' => '',
'min_word_count' => '0',
'help' => '',
'node_options' =>
array (
'status' => true,
'promote' => true,
'sticky' => false,
'revision' => false,
),
'comment' => 2,
'upload' => '1',
'event_nodeapi' => 'never',
'old_type' => 'shout_out',
'orig_type' => '',
'module' => 'node',
'custom' => '1',
'modified' => '1',
'locked' => '0',
);
$content[fields] = array (
0 =>
array (
'widget_type' => 'image crop',
'label' => 'Image',
'weight' => '-2',
'collapsible' => '2',
'resolution' => '392x128',
'enforce_ratio' => 1,
'croparea' => '500x500',
'always_show' => 0,
'use_unscaled' => 1,
'image_path' => 'images',
'custom_alt' => 0,
'custom_title' => 0,
'description' => '',
'required' => 0,
'multiple' => 0,
'use_default_image' => 0,
'default_image_upload' => '',
'default_image' => NULL,
'field_name' => 'field_image',
'field_type' => 'image',
'module' => 'imagefield, imagefield_crop',
'display_settings' =>
array (
'label' =>
array (
'format' => 'hidden',
),
'teaser' =>
array (
'format' => 'imagefield_default',
),
'full' =>
array (
'format' => 'imagefield_default',
),
),
),
1 =>
array (
'widget_type' => 'link',
'label' => 'Link',
'weight' => '5',
'description' => '',
'default_value' =>
array (
0 =>
array (
'url' => '',
'attributes' => 'a:0:{}',
),
),
'default_value_php' => '',
'default_value_widget' =>
array (
'field_link' =>
array (
0 =>
array (
'url' => '',
),
),
),
'required' => 0,
'multiple' => 0,
'url' => 0,
'title' => 'none',
'title_value' => '',
'display' =>
array (
'url_cutoff' => '80',
),
'attributes' =>
array (
'target' => 'default',
'rel' => '',
'class' => '',
),
'field_name' => 'field_link',
'field_type' => 'link',
'module' => 'link',
'display_settings' =>
array (
'label' =>
array (
'format' => 'hidden',
),
'teaser' =>
array (
'format' => 'hidden',
),
'full' =>
array (
'format' => 'hidden',
),
),
),
);