$content['type'] = array ( 'name' => 'Event', 'type' => 'eventpublic', 'description' => 'Promote your places\' or organization\'s event on our event calendar.', 'title_label' => 'Event Name', 'body_label' => 'Event Summary', 'min_word_count' => '10', 'help' => 'Promote your events to the Shenzhen community by filling out the form below. Community events welcome. By promoting your event to our web site you agree to offer us free entry or tickets to our staff and photographers.', 'resizable_body_rows' => '12', 'resizable_body_cols' => '60', 'resizable_body_split' => 0, 'resizable_body_resizable' => '3', 'node_options' => array ( 'revision' => true, 'moderate' => true, 'status' => false, 'promote' => false, 'sticky' => false, ), 'language_content_type' => '2', 'upload' => '0', 'comment_talk' => 0, 'show_preview_changes' => 0, 'i18n_node' => '1', 'i18nsync_nodeapi' => array ( 'name' => true, 'status' => true, 'promote' => true, 'moderate' => true, 'sticky' => true, 'revision' => true, 'parent' => true, 'taxonomy' => true, 'comment' => true, 'files' => false, 'field_date' => true, 'field_event_flyer_image' => false, 'field_event_contact_name' => true, 'field_venue_name' => true, 'field_event_contact' => true, 'field_address' => true, 'field_event_contact_phone' => true, 'field_event_organizer_boolean' => true, 'field_event_venue_boolean' => true, 'field_event_noassociation' => true, 'field_venue_phone' => true, ), 'old_type' => 'eventpublic', 'orig_type' => '', 'module' => 'node', 'custom' => '1', 'modified' => '1', 'locked' => '0', 'og_content_type_usage' => 'group_post_standard', 'signup_node_default_state' => 'disabled', 'signup_date_field' => 'field_date', 'rdf_schema_class' => '', 'fivestar' => 0, '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' => 'below', 'fivestar_comment' => 0, 'print_display' => 1, 'print_display_comment' => 0, 'print_display_urllist' => 1, 'print_mail_display' => 1, 'print_mail_display_comment' => 0, 'print_mail_display_urllist' => 1, 'comment' => '2', 'comment_default_mode' => '2', 'comment_default_order' => '2', 'comment_default_per_page' => '90', 'comment_controls' => '3', 'comment_anonymous' => '2', 'comment_subject_field' => '0', 'comment_preview' => '0', 'comment_form_location' => '1', 'resizable_body_cresizable' => '3', 'resizable_body_crows' => '5', 'resizable_body_ccols' => '60', 'notifications_node_ui' => array ( 'subform' => true, 0 => 1, 'form' => false, 'comment' => false, 'links' => false, 'teaserlinks' => false, 'block' => false, ), 'notifications_content_type' => array ( 'group' => true, 'thread' => true, 'author' => true, 0 => 1, 'taxonomy' => false, 'grouptype' => false, 'nodetype' => false, 'typeauthor' => false, ), 'location_addanother' => 0, 'ant' => '0', 'ant_pattern' => '', 'ant_php' => 0, ); $content['groups'] = array ( 0 => array ( 'label' => 'Event Details', 'group_type' => 'standard', 'settings' => array ( 'form' => array ( 'style' => 'fieldset', 'description' => '', ), 'display' => array ( 'description' => 'Basic Details about this event:', 'teaser' => array ( 'format' => 'no_style', 'exclude' => 1, ), 'full' => array ( 'format' => 'no_style', 'exclude' => 1, ), 4 => array ( 'format' => 'fieldset', 'exclude' => 0, ), 2 => array ( 'format' => 'fieldset', 'exclude' => 0, ), 3 => array ( 'format' => 'fieldset', 'exclude' => 0, ), 'token' => array ( 'format' => 'fieldset', 'exclude' => 0, ), 'label' => 'above', ), ), 'weight' => '-1', 'group_name' => 'group_event_details', ), 1 => array ( 'label' => 'Contact', 'group_type' => 'standard', 'settings' => array ( 'form' => array ( 'style' => 'fieldset', 'description' => ' ', ), 'display' => array ( 'description' => 'Please fill in your contact details below. All fields are required - submissions without any of these fields will be automatically rejected.', 'teaser' => array ( 'format' => 'no_style', 'exclude' => 1, ), 'full' => array ( 'format' => 'no_style', 'exclude' => 1, ), 4 => array ( 'format' => 'fieldset', 'exclude' => 1, ), 2 => array ( 'format' => 'fieldset', 'exclude' => 0, ), 3 => array ( 'format' => 'fieldset', 'exclude' => 0, ), 'token' => array ( 'format' => 'fieldset', 'exclude' => 0, ), 'label' => 'above', ), ), 'weight' => '0', 'group_name' => 'group_contact', ), ); $content['fields'] = array ( 0 => array ( 'label' => 'Event Date', 'field_name' => 'field_date', 'type' => 'datestamp', 'widget_type' => 'date_popup', 'change' => 'Change basic information', 'weight' => '-2', 'default_value' => 'strtotime', 'default_value2' => 'strtotime', 'default_value_code' => '+1 day', 'default_value_code2' => '+2 hours', 'input_format' => 'm/d/Y - g:ia', 'input_format_custom' => '', 'year_range' => '-0:+1', 'increment' => '5', 'advanced' => array ( 'label_position' => 'above', 'text_parts' => array ( 'year' => 0, 'month' => 0, 'day' => 0, 'hour' => 0, 'minute' => 0, 'second' => 0, ), ), 'label_position' => 'above', 'text_parts' => array ( ), 'description' => 'Enter the date and time of your event. If it is a recurring event please enter the date it starts and the date it expires.', 'group' => 'group_event_details', 'required' => 1, 'multiple' => '0', 'repeat' => 0, 'todate' => 'optional', 'granularity' => array ( 'year' => 'year', 'month' => 'month', 'day' => 'day', 'hour' => 'hour', 'minute' => 'minute', ), 'default_format' => 'short', 'tz_handling' => 'site', 'timezone_db' => 'UTC', 'op' => 'Save field settings', 'module' => 'date', 'widget_module' => 'date', 'columns' => array ( 'value' => array ( 'type' => 'int', 'not null' => false, 'sortable' => true, 'views' => true, ), 'value2' => array ( 'type' => 'int', 'not null' => false, 'sortable' => true, 'views' => false, ), ), 'rdf_property_from' => '', 'rdf_property_to' => '', 'display_settings' => array ( 'weight' => '-2', 'parent' => 'group_event_details', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'short', 'exclude' => 0, ), 'full' => array ( 'format' => 'short', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 1 => array ( 'label' => 'Upload Event Flyer', 'field_name' => 'field_event_flyer_image', 'type' => 'filefield', 'widget_type' => 'imagefield_widget', 'change' => 'Change basic information', 'weight' => '-1', 'file_extensions' => 'jpg jpeg png gif', 'progress_indicator' => 'bar', 'file_path' => 'flyers', 'max_filesize_per_file' => '', 'max_filesize_per_node' => '', 'max_resolution' => '3500x3500', 'min_resolution' => 0, 'custom_alt' => 0, 'alt' => '', 'custom_title' => 0, 'title_type' => 'textfield', 'title' => '', 'use_default_image' => 1, 'default_image_upload' => '', 'default_image' => array ( 'filename' => 'logoblack_white_event_default_centered2.png', 'filepath' => 'files/imagefield_default_images/logoblack_white_event_default_centered2_0.png', 'filemime' => 'image/png', 'source' => 'default_image_upload', 'destination' => 'files/imagefield_default_images/logoblack_white_event_default_centered2_0.png', 'filesize' => 7456, 'uid' => '1592', 'status' => 1, 'timestamp' => 1245732079, 'fid' => '8050', ), 'description' => 'Select the event flyer/poster file that represents this event. This file must be in jpeg, gif, or png format. The size of this file must be less than 3 megabytes and no more than 3,500x3,500 pixels. Your image will be automatically scaled and cropped to fit our layout requirements.', 'group' => 'group_event_details', '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, ), ), 'rdf_property' => '', 'display_settings' => array ( 'weight' => 0, 'parent' => 'group_event_details', 'label' => array ( 'format' => 'hidden', ), 'teaser' => array ( 'format' => 'event_listing_preview_default', 'exclude' => 0, ), 'full' => array ( 'format' => 'event_listing_default', 'exclude' => 0, ), 4 => array ( 'format' => 'event_listing_preview_linked', 'exclude' => 0, ), ), ), 2 => array ( 'label' => 'Place Name', 'field_name' => 'field_venue_name', 'type' => 'nodereference', 'widget_type' => 'nodereference_autocomplete', 'change' => 'Change basic information', 'weight' => 0, 'autocomplete_match' => 'contains', 'size' => '60', 'description' => 'Enter the name of the place and select it from the resulting list. If this is a new or unique place, please email us at info@shenzhenparty.com so we can add it to the places database.', 'default_value' => array ( 0 => array ( 'nid' => NULL, '_error_element' => 'default_value_widget][field_venue_name][0][nid][nid', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_venue_name' => array ( 0 => array ( 'nid' => array ( 'nid' => '', '_error_element' => 'default_value_widget][field_venue_name][0][nid][nid', ), '_error_element' => 'default_value_widget][field_venue_name][0][nid][nid', ), ), ), 'group' => 'group_event_details', 'required' => 0, 'multiple' => '0', 'referenceable_types' => array ( 'venuelisting' => 'venuelisting', 'apartment' => 0, 'blog' => 0, 'dish' => 0, 'eventpublic' => 0, 'feed' => 0, 'feed_item' => 0, 'flyer' => 0, 'node_gallery_gallery' => 0, 'node_gallery_image' => 0, 'group' => 0, 'wikipage' => 0, 'complex' => 0, 'job' => 0, 'newsletter' => 0, 'nomination' => 0, 'page' => 0, 'photo' => 0, 'photogallery' => 0, 'podcast' => 0, 'poll' => 0, 'product' => 0, 'product_kit' => 0, 'forum' => 0, 'resume' => 0, 'review' => 0, 'smackdown' => 0, 'trip' => 0, 'webform' => 0, ), 'advanced_view' => '--', 'advanced_view_args' => '', 'op' => 'Save field settings', 'module' => 'nodereference', 'widget_module' => 'nodereference', 'columns' => array ( 'nid' => array ( 'type' => 'int', 'unsigned' => true, 'not null' => false, ), ), 'rdf_property' => '', 'display_settings' => array ( 'label' => array ( 'format' => 'hidden', ), 'teaser' => array ( 'format' => 'hidden', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 3 => array ( 'label' => 'Place Address (English/Chinese)', 'field_name' => 'field_address', 'type' => 'text', 'widget_type' => 'text_textarea', 'change' => 'Change basic information', 'weight' => '1', 'rows' => '4', 'size' => 60, 'description' => 'Write the Place Name, address in both English & Chinese.', 'default_value' => array ( 0 => array ( 'value' => '', 'format' => '1', '_error_element' => 'default_value_widget][field_address][0][value', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_address' => array ( 0 => array ( 'value' => '', 'format' => '1', '_error_element' => 'default_value_widget][field_address][0][value', ), ), ), 'resizable_cck_cols' => '60', 'resizable_cck_resizable' => '1', 'group' => 'group_event_details', '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, ), ), 'rdf_property' => '', 'display_settings' => array ( 'weight' => '1', 'parent' => 'group_event_details', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 4 => array ( 'label' => 'Place Phone', 'field_name' => 'field_venue_phone', 'type' => 'text', 'widget_type' => 'text_textfield', 'change' => 'Change basic information', 'weight' => '7', 'rows' => '1', 'size' => '60', 'description' => 'Phone number for reservations at the place. Please make sure that this phone number is answered by someone who speaks English.', 'default_value' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_venue_phone][0][value', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_venue_phone' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_venue_phone][0][value', ), ), ), 'group' => 'group_event_details', '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, ), ), 'rdf_property' => '', 'display_settings' => array ( 'weight' => '6', 'parent' => 'group_address__contact', 'label' => array ( 'format' => 'hidden', ), 'teaser' => array ( 'format' => 'plain', 'exclude' => 0, ), 'full' => array ( 'format' => 'plain', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 5 => array ( 'label' => 'Your Name', 'field_name' => 'field_event_contact_name', 'type' => 'text', 'widget_type' => 'text_textfield', 'change' => 'Change basic information', 'weight' => '-1', 'rows' => '1', 'size' => 60, 'description' => '', 'default_value' => array ( 0 => array ( 'value' => '', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_event_contact_name' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_event_contact_name][0][value', ), ), ), 'group' => 'group_contact', '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, ), ), 'rdf_property' => '', 'display_settings' => array ( 'weight' => '-1', 'parent' => 'group_contact', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 1, ), ), ), 6 => array ( 'label' => 'Your Email', 'field_name' => 'field_event_contact', 'type' => 'email', 'widget_type' => 'email_textfield', 'change' => 'Change basic information', 'weight' => 0, 'size' => '60', 'description' => 'Enter your email address to be notified when your event is published. If there are other people you would like to notify enter additional email addresses.', 'default_value' => array ( 0 => array ( 'email' => '', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_event_contact' => array ( 0 => array ( 'email' => '', ), ), ), 'group' => 'group_contact', 'required' => 1, 'multiple' => '1', 'op' => 'Save field settings', 'module' => 'email', 'widget_module' => 'email', 'columns' => array ( 'email' => array ( 'type' => 'varchar', 'length' => 255, 'not null' => false, 'sortable' => true, ), ), 'rdf_property' => '', 'display_settings' => array ( 'weight' => 0, 'parent' => 'group_contact', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'hidden', 'exclude' => 0, ), 'full' => array ( 'format' => 'hidden', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 1, ), ), ), 7 => array ( 'label' => 'Your Phone', 'field_name' => 'field_event_contact_phone', 'type' => 'text', 'widget_type' => 'text_textfield', 'change' => 'Change basic information', 'weight' => '1', 'rows' => '1', 'size' => 60, 'description' => '', 'default_value' => array ( 0 => array ( 'value' => '', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_event_contact_phone' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_event_contact_phone][0][value', ), ), ), 'group' => 'group_contact', 'required' => 1, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '20', 'allowed_values' => '', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'text', 'widget_module' => 'text', 'columns' => array ( 'value' => array ( 'type' => 'varchar', 'length' => '20', 'not null' => false, 'sortable' => true, ), ), 'rdf_property' => '', 'display_settings' => array ( 'weight' => '1', 'parent' => 'group_contact', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'hidden', 'exclude' => 0, ), 'full' => array ( 'format' => 'hidden', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 1, ), ), ), 8 => array ( 'label' => 'event_organizer_boolean', 'field_name' => 'field_event_organizer_boolean', 'type' => 'number_integer', 'widget_type' => 'optionwidgets_onoff', 'change' => 'Change basic information', 'weight' => '2', 'description' => '', 'default_value' => array ( 0 => array ( 'value' => '', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_event_organizer_boolean' => array ( 'value' => false, ), ), 'group' => 'group_contact', 'required' => 0, 'multiple' => '0', 'min' => '', 'max' => '', 'prefix' => '', 'suffix' => '', 'allowed_values' => '0| I am an official promoter or organizer of the event 1| I am an official promoter or organizer of the event', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'number', 'widget_module' => 'optionwidgets', 'columns' => array ( 'value' => array ( 'type' => 'int', 'not null' => false, 'sortable' => true, ), ), 'rdf_property' => '', 'display_settings' => array ( 'weight' => '2', 'parent' => 'group_contact', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'hidden', 'exclude' => 0, ), 'full' => array ( 'format' => 'hidden', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 1, ), ), ), 9 => array ( 'label' => 'event_venue_boolean', 'field_name' => 'field_event_venue_boolean', 'type' => 'number_integer', 'widget_type' => 'optionwidgets_onoff', 'change' => 'Change basic information', 'weight' => '4', 'description' => '', 'default_value' => array ( 0 => array ( 'value' => NULL, ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_event_venue_boolean' => array ( 'value' => false, ), ), 'group' => 'group_contact', 'required' => 0, 'multiple' => '0', 'min' => '', 'max' => '', 'prefix' => '', 'suffix' => '', 'allowed_values' => '0|I am representing the venue where the event will be held 1|I am representing the venue where the event will be held ', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'number', 'widget_module' => 'optionwidgets', 'columns' => array ( 'value' => array ( 'type' => 'int', 'not null' => false, 'sortable' => true, ), ), 'rdf_property' => '', 'display_settings' => array ( 'weight' => '4', 'parent' => 'group_contact', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'hidden', 'exclude' => 0, ), 'full' => array ( 'format' => 'hidden', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 1, ), ), ), 10 => array ( 'label' => 'event_noassociation', 'field_name' => 'field_event_noassociation', 'type' => 'number_integer', 'widget_type' => 'optionwidgets_onoff', 'change' => 'Change basic information', 'weight' => '5', 'description' => '', 'default_value' => array ( 0 => array ( 'value' => NULL, ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_event_noassociation' => array ( 'value' => false, ), ), 'group' => 'group_contact', 'required' => 0, 'multiple' => '0', 'min' => '', 'max' => '', 'prefix' => '', 'suffix' => '', 'allowed_values' => '0|I have no association with the event/venue 1|I have no association with the event/venue', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'number', 'widget_module' => 'optionwidgets', 'columns' => array ( 'value' => array ( 'type' => 'int', 'not null' => false, 'sortable' => true, ), ), 'rdf_property' => '', 'display_settings' => array ( 'weight' => '5', 'parent' => 'group_contact', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'hidden', 'exclude' => 0, ), 'full' => array ( 'format' => 'hidden', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 1, ), ), ), ); $content['extra'] = array ( 'title' => '-5', 'body_field' => '-2', 'language' => '-3', 'menu' => '5', 'taxonomy' => '-4', 'print' => '4', 'og_nodeapi' => '2', );