$content[type] = array ( 'name' => 'Event', 'type' => 'event_main', 'description' => 'Main event', 'title_label' => 'Name', 'body_label' => 'Description', 'min_word_count' => '0', 'help' => '', 'node_options' => array ( 'status' => false, 'promote' => false, 'sticky' => false, 'revision' => false, ), 'upload' => 1, 'scheduler' => 1, 'scheduler_touch' => 1, 'nodewords' => 1, 'old_type' => 'event_main', 'orig_type' => '', 'module' => 'node', 'custom' => '1', 'modified' => '1', 'locked' => '0', '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' => '0', 'comment_preview' => '1', 'comment_form_location' => '0', 'teaserthumbnail' => 0, 'teaserthumbnail_attachment' => 0, 'teaserthumbnail_teaser' => 1, 'teaserthumbnail_rss' => 1, 'teaserthumbnail_link' => 1, 'teaserthumbnail_align' => 0, 'teaserthumbnail_preset' => 0, 'teaserthumbnail_min_height' => '', 'teaserthumbnail_min_width' => '', 'feedapi' => array ( 'enabled' => false, 'feedapi' => array ( 'itemfilter' => array ( 'feedapi_keyword_filter' => array ( 'keywords' => '', 'enabled' => '', 'weight' => '', ), ), ), 'refresh_on_create' => 0, 'update_existing' => 1, 'skip' => 0, 'items_delete' => 0, 'parsers' => array ( 'parser_simplepie' => array ( 'enabled' => false, 'weight' => 0, ), 'parser_ical' => array ( 'enabled' => false, 'weight' => 0, ), ), 'processors' => array ( 'feedapi_node' => array ( 'enabled' => false, 'weight' => 0, 'content_type' => 'story', 'node_date' => 'feed', 'promote' => 3, 'x_dedupe' => 0, ), 'feedapi_inherit' => array ( 'enabled' => false, 'weight' => 0, 'inherit_taxonomy' => true, ), ), ), 'xmlsitemap_node_type_priority' => 0.5, ); $content[groups] = array ( 0 => array ( 'label' => 'Contact', 'group_type' => 'standard', 'settings' => array ( 'form' => array ( 'style' => 'fieldset', 'description' => '', ), 'display' => array ( 'description' => '', 'teaser' => array ( 'format' => 'fieldset_collapsed', 'exclude' => 1, ), 'full' => array ( 'format' => 'fieldset_collapsible', 'exclude' => 0, ), 4 => array ( 'format' => 'fieldset', 'exclude' => 0, ), 'token' => array ( 'format' => 'fieldset', 'exclude' => 0, ), 'label' => 'above', ), ), 'weight' => '1', 'group_name' => 'group_event_contact', ), 1 => array ( 'label' => 'Optional information', 'group_type' => 'standard', 'settings' => array ( 'form' => array ( 'style' => 'fieldset', 'description' => '', ), 'display' => array ( 'description' => '', 'teaser' => array ( 'format' => 'hidden', 'exclude' => 1, ), 'full' => array ( 'format' => 'fieldset_collapsible', 'exclude' => 0, ), 4 => array ( 'format' => 'fieldset', 'exclude' => 0, ), 'token' => array ( 'format' => 'fieldset', 'exclude' => 0, ), 'label' => 'above', ), ), 'weight' => '2', 'group_name' => 'group_optional', ), ); $content[fields] = array ( 0 => array ( 'label' => 'Summary', 'field_name' => 'field_event_summary', 'type' => 'text', 'widget_type' => 'text_textarea', 'change' => 'Change basic information', 'weight' => '-3', 'rows' => '3', 'size' => 60, 'description' => 'Enter a brief summary of the event.', 'default_value' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_event_summary][0][value', ), ), 'default_value_php' => '', 'default_value_widget' => NULL, '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, ), ), 'rdf_property' => '', '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, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 1 => array ( 'label' => 'Organization', 'field_name' => 'field_organization', 'type' => 'text', 'widget_type' => 'text_textfield', 'change' => 'Change basic information', 'weight' => '-1', 'rows' => 5, 'size' => '30', 'description' => 'Enter the name of the sponsoring organization.', 'default_value' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_organization][0][value', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_organization' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_organization][0][value', ), ), ), 'group' => false, 'required' => 0, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '50', 'allowed_values' => '', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'text', 'widget_module' => 'text', 'columns' => array ( 'value' => array ( 'type' => 'varchar', 'length' => '50', 'not null' => false, 'sortable' => true, ), ), 'rdf_property' => '', 'display_settings' => array ( 'weight' => '-1', 'parent' => '', 'label' => array ( 'format' => 'inline', ), 'teaser' => array ( 'format' => 'hidden', 'exclude' => 1, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 2 => array ( 'label' => 'Venue', 'field_name' => 'field_venue_ref', 'type' => 'nodereference', 'widget_type' => 'nodereference_autocomplete', 'change' => 'Change basic information', 'weight' => 0, 'autocomplete_match' => 'contains', 'description' => 'Select an existing venue or create a new one.', 'default_value' => array ( 0 => array ( 'nid' => NULL, '_error_element' => 'default_value_widget][field_venue_ref][0][nid][nid', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_venue_ref' => array ( 0 => array ( 'nid' => array ( 'nid' => '', '_error_element' => 'default_value_widget][field_venue_ref][0][nid][nid', ), '_error_element' => 'default_value_widget][field_venue_ref][0][nid][nid', ), ), ), 'group' => false, 'required' => 0, 'multiple' => '0', 'referenceable_types' => array ( 'venue' => 'venue', 'blog' => 0, 'event_main' => 0, 'feed' => 0, 'forum' => 0, 'page' => 0, 'poll' => 0, 'story' => 0, 'event_sub' => 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 ( 'weight' => 0, 'parent' => '', 'label' => array ( 'format' => 'inline', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 3 => array ( 'label' => 'Contact', 'field_name' => 'field_contact_name', 'type' => 'text', 'widget_type' => 'text_textfield', 'change' => 'Change basic information', 'weight' => '2', 'rows' => 5, 'size' => '25', 'description' => 'Enter the name of the person or organization to contact.', 'default_value' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_contact_name][0][value', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_contact_name' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_contact_name][0][value', ), ), ), 'group' => 'group_event_contact', 'required' => 0, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '40', 'allowed_values' => '', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'text', 'widget_module' => 'text', 'columns' => array ( 'value' => array ( 'type' => 'varchar', 'length' => '40', 'not null' => false, 'sortable' => true, ), ), 'rdf_property' => '', 'display_settings' => array ( 'weight' => '2', 'parent' => 'group_event_contact', 'label' => array ( 'format' => 'inline', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 1, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 4 => array ( 'label' => 'email', 'field_name' => 'field_email', 'type' => 'email', 'widget_type' => 'email_textfield', 'change' => 'Change basic information', 'weight' => '3', 'size' => '40', 'description' => 'Enter the primary contact email address for the event, if known.', 'default_value' => array ( 0 => array ( 'email' => '', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_email' => array ( 0 => array ( 'email' => '', ), ), ), 'group' => 'group_event_contact', 'required' => 0, 'multiple' => '0', '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' => '3', 'parent' => 'group_event_contact', 'label' => array ( 'format' => 'inline', ), 'teaser' => array ( 'format' => 'spamspan', 'exclude' => 1, ), 'full' => array ( 'format' => 'spamspan', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 5 => array ( 'label' => 'Phone', 'field_name' => 'field_phone', 'type' => 'text', 'widget_type' => 'text_textfield', 'change' => 'Change basic information', 'weight' => '4', 'rows' => 5, 'size' => '14', 'description' => 'Enter the voice telephone number of the contact person or organization.', 'default_value' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_phone][0][value', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_phone' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_phone][0][value', ), ), ), 'group' => 'group_event_contact', 'required' => 0, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '15', 'allowed_values' => '', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'text', 'widget_module' => 'text', 'columns' => array ( 'value' => array ( 'type' => 'varchar', 'length' => '15', 'not null' => false, 'sortable' => true, ), ), 'rdf_property' => '', 'display_settings' => array ( 'weight' => '4', 'parent' => 'group_event_contact', 'label' => array ( 'format' => 'inline', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 1, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 6 => array ( 'label' => 'Event website', 'field_name' => 'field_event_website', 'type' => 'link', 'widget_type' => 'link', 'change' => 'Change basic information', 'weight' => '32', 'description' => 'Enter the website page address (URL) for the event, if any.', 'default_value' => array ( 0 => array ( 'title' => '', 'url' => '', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_event_website' => array ( 0 => array ( 'title' => '', 'url' => '', ), ), ), 'group' => 'group_optional', 'required' => 0, 'multiple' => '0', 'url' => 0, 'title' => 'optional', 'title_value' => '', 'enable_tokens' => 0, 'display' => array ( 'url_cutoff' => '80', ), 'attributes' => array ( 'target' => '_blank', 'rel' => 'nofollow', '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, ), ), 'rdf_property' => '', 'display_settings' => array ( 'weight' => '32', 'parent' => 'group_optional', 'label' => array ( 'format' => 'inline', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 1, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 7 => array ( 'label' => 'Event tickets', 'field_name' => 'field_event_tickets', 'type' => 'link', 'widget_type' => 'link', 'change' => 'Change basic information', 'weight' => '33', 'description' => 'Enter the website address for the purchase of tickets to this event.', 'default_value' => array ( 0 => array ( 'title' => '', 'url' => '', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_event_tickets' => array ( 0 => array ( 'title' => '', 'url' => '', ), ), ), 'group' => 'group_optional', 'required' => 0, 'multiple' => '0', 'url' => 0, 'title' => 'optional', 'title_value' => '', 'enable_tokens' => 0, 'display' => array ( 'url_cutoff' => '80', ), 'attributes' => array ( 'target' => '_blank', 'rel' => 'nofollow', '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, ), ), 'rdf_property' => '', 'display_settings' => array ( 'weight' => '33', 'parent' => 'group_optional', 'label' => array ( 'format' => 'inline', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 1, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 8 => array ( 'label' => 'Photo', 'field_name' => 'field_event_photo', 'type' => 'image', 'widget_type' => 'imagefield_widget', 'change' => 'Change basic information', 'weight' => '34', 'file_extensions' => 'jpg jpeg png gif', 'file_path' => '', 'max_filesize_per_file' => '3M', 'max_filesize_per_node' => '8M', 'max_resolution' => 0, 'min_resolution' => '400x300', 'custom_alt' => 1, 'alt' => '[site-url]', 'custom_title' => 1, 'title' => '[site-slogan]', 'description' => 'Upload an image to be displayed along with the event listing. This can be a publicity photo or, perhaps, a photo from a previous year\'s event.', 'group' => 'group_optional', 'required' => 0, 'multiple' => '0', 'list_default' => '1', 'force_list_default' => '0', 'show_description' => '1', 'op' => 'Save field settings', 'module' => 'imagefield', 'widget_module' => 'imagefield', 'columns' => array ( 'fid' => array ( 'type' => 'int', 'not null' => false, ), 'list' => array ( 'type' => 'int', 'size' => 'tiny', 'not null' => false, ), 'data' => array ( 'type' => 'text', 'serialize' => true, ), ), 'rdf_property' => '', 'display_settings' => array ( 'weight' => '34', 'parent' => 'group_optional', 'label' => array ( 'format' => 'inline', ), 'teaser' => array ( 'format' => '150x570w_linked', 'exclude' => 1, ), 'full' => array ( 'format' => '150x570w_default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), ); $content[extra] = array ( 'title' => '-5', 'body_field' => '-2', 'menu' => '4', 'attachments' => '3', );