$content['type'] = array ( 'name' => 'Kite', 'type' => 'kite', 'description' => '', 'title_label' => 'Name', 'body_label' => '', 'min_word_count' => '0', 'help' => '', 'node_options' => array ( 'status' => false, 'promote' => false, 'sticky' => false, 'revision' => false, ), 'upload' => '0', 'old_type' => 'kite', 'orig_type' => '', 'module' => 'node', 'custom' => '1', 'modified' => '1', 'locked' => '0', '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', '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' => 'average', 'fivestar_text' => 'dual', 'fivestar_title' => 1, 'fivestar_feedback' => 1, 'fivestar_unvote' => 0, 'fivestar_position_teaser' => 'hidden', 'fivestar_position' => 'hidden', ); $content['fields'] = array ( 0 => 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' => 'images/products/kites', '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' => '', '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 ( 'weight' => '1', 'parent' => '', 'label' => array ( 'format' => 'hidden', ), 'teaser' => array ( 'format' => 'teaser_linked', 'exclude' => 0, ), 'full' => array ( 'format' => 'full_default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 2 => array ( 'format' => 'default', 'exclude' => 0, ), 3 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 1 => array ( 'label' => 'Production year', 'field_name' => 'field_kite_productionyear', 'type' => 'text', 'widget_type' => 'optionwidgets_select', 'change' => 'Change basic information', 'weight' => '2', 'description' => 'Select the year of manufacturing', 'default_value' => array ( 0 => array ( 'value' => '2009', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_kite_productionyear' => array ( 'value' => '2009', ), ), 'group' => false, 'required' => 1, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => '1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'text', 'widget_module' => 'optionwidgets', 'columns' => array ( 'value' => array ( 'type' => 'text', 'size' => 'big', 'not null' => false, 'sortable' => true, 'views' => true, ), ), 'display_settings' => array ( 'weight' => '2', 'parent' => '', 'label' => array ( 'format' => 'inline', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 2 => array ( 'label' => 'Size', 'field_name' => 'field_kite_size', 'type' => 'number_integer', 'widget_type' => 'optionwidgets_select', 'change' => 'Change basic information', 'weight' => '3', 'description' => 'Select the size op the kite you would like to add to the database', 'default_value' => array ( 0 => array ( 'value' => '9.0', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_kite_size' => array ( 'value' => '9.0', ), ), 'group' => false, 'required' => 1, 'multiple' => '0', 'min' => '1', 'max' => '20', 'prefix' => '', 'suffix' => '', 'allowed_values' => '1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 6.5 7.0 7.5 8.0 8.5 9.0 9.5 10.0 10.5 11.0 11.5 12.0 12.5 13.0 13.5 14.0 14.5 15.0 15.5 16.0 16.5 17.0 17.5 18.0 18.5 19.0 19.5 20.0', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'number', 'widget_module' => 'optionwidgets', 'columns' => array ( 'value' => array ( 'type' => 'int', 'not null' => false, 'sortable' => true, ), ), 'display_settings' => array ( 'weight' => '3', 'parent' => '', 'label' => array ( 'format' => 'inline', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 3 => array ( 'label' => 'One-pump', 'field_name' => 'field_kite_onepump', 'type' => 'text', 'widget_type' => 'optionwidgets_buttons', 'change' => 'Change basic information', 'weight' => '4', 'description' => 'Choose whether the kite has some sort of one-pump system or not.', 'default_value' => array ( 0 => array ( 'value' => '', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_kite_onepump' => array ( 'value' => '', ), ), 'group' => false, 'required' => 1, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => 'Yes No', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'text', 'widget_module' => 'optionwidgets', 'columns' => array ( 'value' => array ( 'type' => 'text', 'size' => 'big', 'not null' => false, 'sortable' => true, 'views' => true, ), ), 'display_settings' => array ( 'weight' => '4', 'parent' => '', 'label' => array ( 'format' => 'inline', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 4 => array ( 'label' => 'Link to product', 'field_name' => 'field_kite_link', 'type' => 'link', 'widget_type' => 'link', 'change' => 'Change basic information', 'weight' => '5', 'description' => 'Enter the link to the product page of the kite.', 'default_value' => array ( 0 => array ( 'url' => '', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_kite_link' => array ( 0 => array ( 'url' => '', ), ), ), 'group' => false, 'required' => 0, 'multiple' => '0', 'url' => 0, 'title' => 'value', 'title_value' => 'Manufacturer link', 'display' => array ( 'url_cutoff' => '80', ), 'attributes' => array ( 'target' => '_blank', 'rel' => '', 'class' => '', ), 'op' => 'Save field settings', 'module' => 'link', 'widget_module' => 'link', 'columns' => array ( 'url' => array ( 'type' => 'varchar', 'length' => 255, 'not null' => false, 'sortable' => true, ), 'title' => array ( 'type' => 'varchar', 'length' => 255, 'not null' => false, 'sortable' => true, ), 'attributes' => array ( 'type' => 'text', 'size' => 'medium', 'not null' => false, ), ), 'display_settings' => array ( 'weight' => '5', 'parent' => '', 'label' => array ( 'format' => 'inline', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 5 => array ( 'label' => 'Windrange min', 'field_name' => 'field_kite_windrange_min', 'type' => 'number_decimal', 'widget_type' => 'optionwidgets_select', 'change' => 'Change basic information', 'weight' => '6', 'description' => 'Specify the minimal windrange in knots to use this kite', 'default_value' => array ( 0 => array ( 'value' => '', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_kite_windrange_min' => array ( 'value' => '', ), ), 'group' => false, 'required' => 1, 'multiple' => '0', 'min' => '0', 'max' => '50', 'precision' => '10', 'scale' => '2', 'decimal' => '.', 'prefix' => '', 'suffix' => '', 'allowed_values' => '1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 35+', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'number', 'widget_module' => 'optionwidgets', 'columns' => array ( 'value' => array ( 'type' => 'numeric', 'precision' => '10', 'scale' => '2', 'not null' => false, 'sortable' => true, ), ), 'display_settings' => array ( 'weight' => '6', 'parent' => '', 'label' => array ( 'format' => 'inline', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 6 => array ( 'label' => 'Windrange max', 'field_name' => 'field_kite_windrange_max', 'type' => 'number_decimal', 'widget_type' => 'optionwidgets_select', 'change' => 'Change basic information', 'weight' => '7', 'description' => 'Specify the maximal windrange in knots to use this kite', 'default_value' => array ( 0 => array ( 'value' => '20', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_kite_windrange_max' => array ( 'value' => '20', ), ), 'group' => false, 'required' => 1, 'multiple' => '0', 'min' => '', 'max' => '', 'precision' => '10', 'scale' => '2', 'decimal' => '.', 'prefix' => '', 'suffix' => '', 'allowed_values' => '1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'number', 'widget_module' => 'optionwidgets', 'columns' => array ( 'value' => array ( 'type' => 'numeric', 'precision' => '10', 'scale' => '2', 'not null' => false, 'sortable' => true, ), ), 'display_settings' => array ( 'weight' => '7', 'parent' => '', 'label' => array ( 'format' => 'inline', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), ); $content['extra'] = array ( 'title' => '-1', 'menu' => '-2', 'taxonomy' => '-3', 'attachments' => '8', );