Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $content['type'] = array (
- 'name' => 'Photo Gallery',
- 'type' => 'photo_gallery',
- 'description' => 'A high resolution photo gallery.',
- 'title_label' => 'Title',
- 'body_label' => 'Body',
- 'min_word_count' => '0',
- 'help' => '',
- 'node_options' =>
- array (
- 'status' => true,
- 'promote' => true,
- 'revision' => true,
- 'sticky' => false,
- ),
- 'old_type' => 'photo_gallery',
- 'orig_type' => '',
- 'module' => 'node',
- 'custom' => '1',
- 'modified' => '1',
- 'locked' => '0',
- 'og_content_type_usage' => 'group_post_standard',
- 'og_max_groups' => '',
- 'nodewords_edit_metatags' => 1,
- 'nodewords_metatags_generation_method' => '1',
- 'nodewords_metatags_generation_source' => '3',
- 'nodewords_use_alt_attribute' => 1,
- 'nodewords_filter_modules_output' =>
- array (
- 'imagebrowser' => false,
- 'img_assist' => false,
- ),
- 'nodewords_filter_regexp' => '',
- 'rdf_schema_class' => '',
- 'comment' => '0',
- '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' => '',
- ),
- 'tableofcontents_toc_automatic' => '0',
- 'tableofcontents_vtoc' => 0,
- 'tableofcontents_remove_from_teaser' => 1,
- 'teaserthumbnail' => '1',
- 'teaserthumbnail_attachment' => 1,
- 'teaserthumbnail_teaser' => '1',
- 'teaserthumbnail_rss' => '1',
- 'teaserthumbnail_link' => 1,
- 'teaserthumbnail_align' => '1',
- 'teaserthumbnail_preset' => 'Teaser_Thumbnail_150x100',
- 'teaserthumbnail_min_height' => '',
- 'teaserthumbnail_min_width' => '',
- 'vertical_tabs_default_tab' => 'Photo Gallery',
- 'ant' => '0',
- 'ant_pattern' => '',
- 'ant_php' => 0,
- 'notifications_content_type' =>
- array (
- 'thread' => true,
- 'nodetype' => true,
- 'author' => true,
- 'grouptype' => false,
- 'group' => false,
- 'typeauthor' => false,
- ),
- );
- $content['groups'] = array (
- 0 =>
- array (
- 'label' => 'Image Upload',
- 'group_type' => 'standard',
- 'settings' =>
- array (
- 'form' =>
- array (
- 'style' => 'fieldset',
- 'description' => '',
- ),
- 'display' =>
- array (
- 'description' => '',
- 5 =>
- array (
- 'format' => 'fieldset',
- 'exclude' => 0,
- ),
- 'teaser' =>
- array (
- 'format' => 'simple',
- 'exclude' => 0,
- ),
- 'full' =>
- array (
- 'format' => 'fieldset',
- 'exclude' => 0,
- ),
- 4 =>
- array (
- 'format' => 'fieldset',
- 'exclude' => 0,
- ),
- 2 =>
- array (
- 'format' => 'fieldset',
- 'exclude' => 0,
- ),
- 3 =>
- array (
- 'format' => 'fieldset',
- 'exclude' => 0,
- ),
- 'cck_blocks' =>
- array (
- 'format' => 'fieldset',
- 'exclude' => 0,
- ),
- 'token' =>
- array (
- 'format' => 'fieldset',
- 'exclude' => 0,
- ),
- 'label' => 'hidden',
- ),
- ),
- 'weight' => '-2',
- 'group_name' => 'group_image_upload',
- ),
- );
- $content['fields'] = array (
- 0 =>
- array (
- 'label' => 'Photo Upload',
- 'field_name' => 'field_photo_upload',
- 'type' => 'filefield',
- 'widget_type' => 'imagefield_widget',
- 'change' => 'Change basic information',
- 'weight' => '-1',
- 'file_extensions' => 'png gif jpg jpeg',
- 'progress_indicator' => 'bar',
- 'file_path' => 'photos/users/[user-raw]',
- 'max_filesize_per_file' => '',
- 'max_filesize_per_node' => '',
- 'max_resolution' => 0,
- 'min_resolution' => 0,
- 'custom_alt' => 1,
- 'alt' => '',
- 'custom_title' => 1,
- 'title_type' => 'textfield',
- 'title' => '',
- 'use_default_image' => 0,
- 'default_image_upload' => '',
- 'default_image' => NULL,
- 'filefield_sources' =>
- array (
- 'reference' => false,
- 'remote' => false,
- ),
- 'filefield_source_autocomplete' => '0',
- 'insert' => false,
- 'insert_styles' =>
- array (
- 0 => 1,
- 'auto' => false,
- 'link' => false,
- 'image' => false,
- 'imagecache_Full_Width_688px' => false,
- 'imagecache_Half_Width_350px' => false,
- 'imagecache_Image-Scale-520w' => false,
- 'imagecache_Image-Scale-668w' => false,
- 'imagecache_no_change' => false,
- 'imagecache_photo_gallery_916w' => false,
- 'imagecache_photo_gallery_936w' => false,
- 'imagecache_Profile_Avatar_41x37' => false,
- 'imagecache_Profile_Avatar_57x51' => false,
- 'imagecache_Profile_Avatar_74x67' => false,
- 'imagecache_Profile_Avatar_74x67_BW' => false,
- 'imagecache_Profile_Avatar_100x89_BW' => false,
- 'imagecache_Profile_Avatar_171x153' => false,
- 'imagecache_Profile_Avatar_171x153_BW' => false,
- 'imagecache_Quarter_Width_175px' => false,
- 'imagecache_Sidebar_205w' => false,
- 'imagecache_Teaser_Thumbnail_75x50' => false,
- 'imagecache_Teaser_Thumbnail_150x100' => false,
- 'imagecache_Tiny_Width_100px' => false,
- ),
- 'insert_default' =>
- array (
- 0 => 'auto',
- ),
- 'insert_class' => 'caption',
- 'insert_width' => '',
- 'description' => '',
- 'group' => 'group_image_upload',
- 'required' => 1,
- 'multiple' => '1',
- 'list_field' => '0',
- 'list_default' => 1,
- 'description_field' => '0',
- 'global_cck_blocks_settings' => '2',
- '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,
- ),
- ),
- 'rdf_property' => '',
- 'display_settings' =>
- array (
- 'weight' => '-1',
- 'parent' => 'group_image_upload',
- 'label' =>
- array (
- 'format' => 'hidden',
- ),
- 'teaser' =>
- array (
- 'format' => 'Teaser_Thumbnail_75x50_linked',
- 'exclude' => 0,
- ),
- 'full' =>
- array (
- 'format' => 'photo_gallery_916w_imagelink',
- 'exclude' => 0,
- ),
- 5 =>
- array (
- 'format' => 'image_plain',
- 'exclude' => 0,
- ),
- 4 =>
- array (
- 'format' => 'image_plain',
- 'exclude' => 0,
- ),
- 2 =>
- array (
- 'format' => 'image_plain',
- 'exclude' => 0,
- ),
- 3 =>
- array (
- 'format' => 'image_plain',
- 'exclude' => 0,
- ),
- 'cck_blocks' =>
- array (
- 'format' => 'image_plain',
- 'exclude' => 0,
- ),
- 'token' =>
- array (
- 'format' => 'image_plain',
- 'exclude' => 0,
- ),
- ),
- ),
- );
- $content['extra'] = array (
- 'title' => '-5',
- 'body_field' => '-4',
- 'revision_information' => '4',
- 'author' => '5',
- 'options' => '6',
- 'comment_settings' => '7',
- 'menu' => '1',
- 'taxonomy' => '0',
- 'book' => '3',
- 'path' => '8',
- 'itunes' => '2',
- 'og_nodeapi' => '-3',
- 'scheduler_settings' => '10',
- 'xmlsitemap' => '11',
- 'nodewords' => '9',
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement