$content['type'] = array ( 'name' => 'News item', 'type' => 'ddblock_news_item', 'description' => 'News item used for a Dynamic display block slideshow.', 'title_label' => 'Title', 'body_label' => 'Body', 'min_word_count' => '0', 'help' => '', 'node_options' => array ( 'status' => false, 'promote' => false, 'sticky' => false, 'revision' => false, ), 'upload' => 1, 'ffp_upload' => array ( 'file_path' => '', 'file_path_cleanup' => array ( 'file_path_pathauto' => 0, 'file_path_tolower' => 0, 'file_path_transliterate' => 0, ), 'file_name' => '[filefield-onlyname-original].[filefield-extension-original]', 'file_name_cleanup' => array ( 'file_name_pathauto' => 0, 'file_name_tolower' => 0, 'file_name_transliterate' => 0, ), 'retroactive_update' => '', 'active_updating' => 0, ), 'old_type' => 'ddblock_news_item', 'orig_type' => '', 'module' => 'node', 'custom' => '1', 'modified' => '1', 'locked' => '0', 'nodewords_edit_metatags' => true, 'nodewords_metatags_generation_method' => '0', 'nodewords_metatags_generation_source' => '2', 'nodewords_use_alt_attribute' => 1, 'nodewords_filter_modules_output' => array ( 0 => 1, 'imagebrowser' => false, 'img_assist' => false, ), 'nodewords_filter_regexp' => '', 'comment' => '2', 'comment_default_mode' => '4', 'comment_default_order' => '1', 'comment_default_per_page' => '50', 'comment_controls' => '3', 'comment_anonymous' => 0, 'comment_subject_field' => '1', 'comment_preview' => '1', 'comment_form_location' => '0', 'page_title' => array ( 'show_field' => array ( 'show_field' => false, ), 'pattern' => '', ), 'better_formats_allowed' => array ( 1 => false, 2 => false, 3 => false, ), 'better_formats_defaults' => array ( 'node-1' => array ( 'format' => '0', 'weight' => '0', ), 'node-2' => array ( 'format' => '0', 'weight' => '0', ), 'comment-1' => array ( 'format' => '0', 'weight' => '0', ), 'comment-2' => array ( 'format' => '0', 'weight' => '0', ), ), ); $content['fields'] = array ( 0 => array ( 'label' => 'Pager item text', 'field_name' => 'field_pager_item_text', 'type' => 'text', 'widget_type' => 'text_textfield', 'change' => 'Change basic information', 'weight' => '-4', 'rows' => 5, 'size' => '60', 'description' => 'Used for the text of a pager_item.', 'default_value' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_pager_item_text][0][value', ), ), 'default_value_php' => '', 'default_value_widget' => NULL, 'required' => 1, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '30', 'allowed_values' => '', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'text', 'widget_module' => 'text', 'columns' => array ( 'value' => array ( 'type' => 'varchar', 'length' => '30', 'not null' => false, 'sortable' => true, 'views' => true, ), ), 'display_settings' => array ( 'weight' => '-4', 'parent' => '', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'trimmed', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 1 => array ( 'label' => 'Slide text', 'field_name' => 'field_slide_text', 'type' => 'text', 'widget_type' => 'text_textarea', 'change' => 'Change basic information', 'weight' => '-2', 'rows' => '5', 'size' => 60, 'description' => 'Used for the text on a slide.', 'default_value' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_slide_text][0][value', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_slide_text' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_slide_text][0][value', ), ), ), 'required' => 1, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => '', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'text', 'widget_module' => 'text', 'columns' => array ( 'value' => array ( 'type' => 'text', 'size' => 'big', 'not null' => false, 'sortable' => true, 'views' => true, ), ), 'display_settings' => array ( 'weight' => '-3', 'parent' => '', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'hidden', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 2 => array ( 'label' => 'Image', 'field_name' => 'field_image', 'type' => 'filefield', 'widget_type' => 'imagefield_widget', 'change' => 'Change basic information', 'weight' => '-1', 'file_extensions' => 'jpg jpeg png gif', 'progress_indicator' => 'bar', 'file_path' => '', 'max_filesize_per_file' => '', 'max_filesize_per_node' => '', 'max_resolution' => 0, 'min_resolution' => 0, 'custom_alt' => 0, 'alt' => '', 'custom_title' => 0, 'title_type' => 'textfield', 'title' => '', 'use_default_image' => '', 'default_image_upload' => '', 'default_image' => NULL, 'description' => 'Image to be used for the Slide image and Pager image.', 'ffp_field_image' => array ( 'file_path' => '', 'file_path_cleanup' => array ( 'file_path_pathauto' => 0, 'file_path_tolower' => 0, 'file_path_transliterate' => 0, ), 'file_name' => '[filefield-onlyname-original].[filefield-extension-original]', 'file_name_cleanup' => array ( 'file_name_pathauto' => 0, 'file_name_tolower' => 0, 'file_name_transliterate' => 0, ), 'retroactive_update' => '', 'active_updating' => 0, ), 'required' => 1, 'multiple' => '0', 'list_field' => '0', 'list_default' => 1, 'description_field' => '0', 'op' => 'Save field settings', 'module' => 'filefield', 'widget_module' => 'imagefield', 'columns' => array ( 'fid' => array ( 'type' => 'int', 'not null' => false, 'views' => true, ), 'list' => array ( 'type' => 'int', 'size' => 'tiny', 'not null' => false, 'views' => true, ), 'data' => array ( 'type' => 'text', 'serialize' => true, 'views' => true, ), ), 'display_settings' => array ( 'weight' => '-2', 'parent' => '', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'image_plain', 'exclude' => 0, ), 'full' => array ( 'format' => 'image_nodelink', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), ); $content['extra'] = array ( 'title' => '-5', 'body_field' => '1', 'menu' => '0', );