Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $content['type'] = array (
- 'name' => 'Recipe',
- 'type' => 'recipe',
- 'description' => '',
- 'title_label' => 'Recipe Name',
- 'body_label' => '',
- 'min_word_count' => '0',
- 'help' => 'Please only submit your own recipes. ',
- 'node_options' =>
- array (
- 'status' => false,
- 'promote' => false,
- 'sticky' => false,
- 'revision' => false,
- ),
- 'old_type' => 'recipe',
- 'orig_type' => '',
- 'module' => 'node',
- 'custom' => '1',
- 'modified' => '1',
- 'locked' => '0',
- 'comment' => '2',
- 'comment_default_mode' => '4',
- 'comment_default_order' => '2',
- 'comment_default_per_page' => '50',
- 'comment_controls' => '3',
- 'comment_anonymous' => 0,
- 'comment_subject_field' => '1',
- 'comment_preview' => '1',
- 'comment_form_location' => '1',
- 'fivestar' => 1,
- 'fivestar_stars' => '5',
- 'fivestar_labels_enable' => 1,
- 'fivestar_label_0' => 'Cancel rating',
- 'fivestar_label_1' => 'Poor',
- 'fivestar_label_2' => 'Okay',
- 'fivestar_label_3' => 'Good',
- 'fivestar_label_4' => 'Great',
- 'fivestar_label_5' => 'Awesome',
- 'fivestar_label_6' => 'Give it @star/@count',
- 'fivestar_label_7' => 'Give it @star/@count',
- 'fivestar_label_8' => 'Give it @star/@count',
- 'fivestar_label_9' => 'Give it @star/@count',
- 'fivestar_label_10' => 'Give it @star/@count',
- 'fivestar_style' => 'dual',
- 'fivestar_text' => 'dual',
- 'fivestar_title' => 1,
- 'fivestar_feedback' => 1,
- 'fivestar_unvote' => 0,
- 'fivestar_position_teaser' => 'hidden',
- 'fivestar_position' => 'below_static',
- 'fivestar_comment' => '2',
- 'print_display' => 1,
- 'print_display_comment' => 0,
- 'print_display_urllist' => 1,
- 'print_mail_display' => 1,
- 'print_mail_display_comment' => 0,
- 'print_mail_display_urllist' => 0,
- );
- $content['fields'] = array (
- 0 =>
- array (
- 'label' => 'Picture',
- 'field_name' => 'field_recipe_image',
- 'type' => 'filefield',
- 'widget_type' => 'imagefield_widget',
- 'change' => 'Change basic information',
- 'weight' => '-4',
- 'file_extensions' => 'png gif jpg jpeg',
- 'progress_indicator' => 'bar',
- 'file_path' => 'recipes/[user-raw]',
- 'max_filesize_per_file' => '',
- 'max_filesize_per_node' => '',
- 'max_resolution' => '640x480',
- 'min_resolution' => 0,
- 'custom_alt' => 1,
- 'alt' => '',
- 'custom_title' => 0,
- 'title_type' => 'textfield',
- 'title' => '',
- 'use_default_image' => 0,
- 'default_image_upload' => '',
- 'default_image' => NULL,
- 'description' => 'Add a picture of the completed dish. Instruction images should be added in the Directions area below.',
- 'group' => false,
- 'required' => 0,
- '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 (
- 'label' =>
- array (
- 'format' => 'above',
- 'exclude' => 0,
- ),
- 'teaser' =>
- array (
- 'format' => 'image_plain',
- 'exclude' => 0,
- ),
- 'full' =>
- array (
- 'format' => 'image_plain',
- 'exclude' => 0,
- ),
- 4 =>
- array (
- 'format' => 'image_plain',
- 'exclude' => 0,
- ),
- 5 =>
- array (
- 'format' => 'image_plain',
- 'exclude' => 0,
- ),
- 'token' =>
- array (
- 'format' => 'image_plain',
- 'exclude' => 0,
- ),
- ),
- ),
- 1 =>
- array (
- 'label' => 'Ingredients',
- 'field_name' => 'field_recipe_ingredients',
- 'type' => 'text',
- 'widget_type' => 'text_textfield',
- 'change' => 'Change basic information',
- 'weight' => '-2',
- 'rows' => 5,
- 'size' => '60',
- 'description' => 'Add an ingredient. Please refer to the key for help with standard measurement abbreviations.',
- 'default_value' =>
- array (
- 0 =>
- array (
- 'value' => '',
- '_error_element' => 'default_value_widget][field_recipe_ingredients][0][value',
- ),
- ),
- 'default_value_php' => '',
- 'default_value_widget' =>
- array (
- 'field_recipe_ingredients' =>
- array (
- 0 =>
- array (
- 'value' => '',
- '_error_element' => 'default_value_widget][field_recipe_ingredients][0][value',
- ),
- ),
- ),
- 'group' => false,
- 'required' => 1,
- 'multiple' => '1',
- '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 (
- 'label' =>
- array (
- 'format' => 'above',
- 'exclude' => 0,
- ),
- 'teaser' =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'full' =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 4 =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 5 =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'token' =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- ),
- ),
- 2 =>
- array (
- 'label' => 'Preparation Time',
- 'field_name' => 'field_recipe_preptime',
- 'type' => 'text',
- 'widget_type' => 'text_textfield',
- 'change' => 'Change basic information',
- 'weight' => '-1',
- 'rows' => 5,
- 'size' => '60',
- 'description' => '',
- 'default_value' =>
- array (
- 0 =>
- array (
- 'value' => '',
- '_error_element' => 'default_value_widget][field_recipe_preptime][0][value',
- ),
- ),
- 'default_value_php' => '',
- 'default_value_widget' =>
- array (
- 'field_recipe_preptime' =>
- array (
- 0 =>
- array (
- 'value' => '',
- '_error_element' => 'default_value_widget][field_recipe_preptime][0][value',
- ),
- ),
- ),
- 'group' => false,
- 'required' => 0,
- '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 (
- 'label' =>
- array (
- 'format' => 'above',
- 'exclude' => 0,
- ),
- 'teaser' =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'full' =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 4 =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 5 =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'token' =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- ),
- ),
- 3 =>
- array (
- 'label' => 'Cooking Time',
- 'field_name' => 'field_recipe_cooktime',
- 'type' => 'text',
- 'widget_type' => 'text_textfield',
- 'change' => 'Change basic information',
- 'weight' => 0,
- 'rows' => 5,
- 'size' => '60',
- 'description' => '',
- 'default_value' =>
- array (
- 0 =>
- array (
- 'value' => '',
- '_error_element' => 'default_value_widget][field_recipe_cooktime][0][value',
- ),
- ),
- 'default_value_php' => '',
- 'default_value_widget' =>
- array (
- 'field_recipe_cooktime' =>
- array (
- 0 =>
- array (
- 'value' => '',
- '_error_element' => 'default_value_widget][field_recipe_cooktime][0][value',
- ),
- ),
- ),
- 'group' => false,
- 'required' => 0,
- '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 (
- 'label' =>
- array (
- 'format' => 'above',
- 'exclude' => 0,
- ),
- 'teaser' =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'full' =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 4 =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 5 =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'token' =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- ),
- ),
- 4 =>
- array (
- 'label' => 'Yield',
- 'field_name' => 'field_recipe_yield',
- 'type' => 'text',
- 'widget_type' => 'text_textfield',
- 'change' => 'Change basic information',
- 'weight' => '1',
- 'rows' => 5,
- 'size' => '60',
- 'description' => '',
- 'default_value' =>
- array (
- 0 =>
- array (
- 'value' => '',
- '_error_element' => 'default_value_widget][field_recipe_yield][0][value',
- ),
- ),
- 'default_value_php' => '',
- 'default_value_widget' =>
- array (
- 'field_recipe_yield' =>
- array (
- 0 =>
- array (
- 'value' => '',
- '_error_element' => 'default_value_widget][field_recipe_yield][0][value',
- ),
- ),
- ),
- 'group' => false,
- 'required' => 0,
- '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 (
- 'label' =>
- array (
- 'format' => 'above',
- 'exclude' => 0,
- ),
- 'teaser' =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'full' =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 4 =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 5 =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'token' =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- ),
- ),
- 5 =>
- array (
- 'label' => 'Directions',
- 'field_name' => 'field_recipe_directions',
- 'type' => 'text',
- 'widget_type' => 'text_textarea',
- 'change' => 'Change basic information',
- 'weight' => '2',
- 'rows' => '5',
- 'size' => 60,
- 'description' => '',
- 'default_value' =>
- array (
- 0 =>
- array (
- 'value' => '',
- '_error_element' => 'default_value_widget][field_recipe_directions][0][value',
- ),
- ),
- 'default_value_php' => '',
- 'default_value_widget' =>
- array (
- 'field_recipe_directions' =>
- array (
- 0 =>
- array (
- 'value' => '',
- '_error_element' => 'default_value_widget][field_recipe_directions][0][value',
- 'format' => 1,
- ),
- ),
- ),
- 'group' => false,
- 'required' => 1,
- 'multiple' => '0',
- 'text_processing' => '1',
- '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,
- ),
- 'format' =>
- array (
- 'type' => 'int',
- 'unsigned' => true,
- 'not null' => false,
- 'views' => false,
- ),
- ),
- 'display_settings' =>
- array (
- 'label' =>
- array (
- 'format' => 'above',
- 'exclude' => 0,
- ),
- 'teaser' =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'full' =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 4 =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 5 =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'token' =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- ),
- ),
- 6 =>
- array (
- 'label' => 'Notes',
- 'field_name' => 'field_recipe_notes',
- 'type' => 'text',
- 'widget_type' => 'text_textarea',
- 'change' => 'Change basic information',
- 'weight' => '3',
- 'rows' => '5',
- 'size' => 60,
- 'description' => 'Any extra information about your recipe. History, warnings, what beer goes well with it, etc.',
- 'default_value' =>
- array (
- 0 =>
- array (
- 'value' => '',
- '_error_element' => 'default_value_widget][field_recipe_notes][0][value',
- ),
- ),
- 'default_value_php' => '',
- 'default_value_widget' =>
- array (
- 'field_recipe_notes' =>
- array (
- 0 =>
- array (
- 'value' => '',
- '_error_element' => 'default_value_widget][field_recipe_notes][0][value',
- 'format' => 1,
- ),
- ),
- ),
- 'group' => false,
- 'required' => 0,
- 'multiple' => '0',
- 'text_processing' => '1',
- '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,
- ),
- 'format' =>
- array (
- 'type' => 'int',
- 'unsigned' => true,
- 'not null' => false,
- 'views' => false,
- ),
- ),
- 'display_settings' =>
- array (
- 'label' =>
- array (
- 'format' => 'above',
- 'exclude' => 0,
- ),
- 'teaser' =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'full' =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 4 =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 5 =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- 'token' =>
- array (
- 'format' => 'default',
- 'exclude' => 0,
- ),
- ),
- ),
- );
- $content['extra'] = array (
- 'title' => '-5',
- 'revision_information' => '7',
- 'author' => '6',
- 'options' => '8',
- 'comment_settings' => '9',
- 'menu' => '4',
- 'taxonomy' => '-3',
- 'path' => '11',
- 'workflow' => '5',
- 'print' => '10',
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement