$content['type'] = array ( 'name' => 'Event', 'type' => 'event', 'description' => 'Creating an event creates an entry in the web site\'s calendar. Events are also placed in the "Upcoming Events" block on the front page.', 'title_label' => 'Title', 'body_label' => 'Description', 'min_word_count' => '0', 'help' => 'Events are automatically sorted and placed into the front page\'s Upcoming Events block if necessary. They are also placed on the front page\'s main content area by default, although administrators may override this behavior at their discretion.', 'node_options' => array ( 'status' => true, 'promote' => false, 'sticky' => false, 'revision' => false, ), 'upload' => '1', 'old_type' => 'event', 'orig_type' => '', 'module' => 'node', 'custom' => '1', 'modified' => '1', 'locked' => '0', 'xmlsitemap_node_type_priority' => '0.5', ); $content['groups'] = array ( 0 => array ( 'label' => 'Event homepage', 'group_type' => 'standard', 'settings' => array ( 'form' => array ( 'style' => 'fieldset_collapsed', 'description' => 'If this event has a web page dedicated to it, enter its URL and give the link a title.', ), 'display' => array ( 'description' => '', 'teaser' => array ( 'format' => 'fieldset', '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, ), 'token' => array ( 'format' => 'fieldset', 'exclude' => 0, ), 'label' => 'above', ), ), 'weight' => '-1', 'group_name' => 'group_event_homepage', ), ); $content['fields'] = array ( 0 => array ( 'label' => 'Front page exclusion', 'field_name' => 'field_excludefromfrontpage', 'type' => 'number_integer', 'widget_type' => 'optionwidgets_onoff', 'change' => 'Change basic information', 'weight' => '-4', 'description' => 'If selected, this event will not be displayed in the front page\'s "Upcoming Events" block.', 'default_value' => array ( 0 => array ( 'value' => 0, ), ), 'default_value_php' => '', 'default_value_widget' => NULL, 'group' => false, 'required' => 0, 'multiple' => '0', 'min' => '', 'max' => '', 'prefix' => '', 'suffix' => '', 'allowed_values' => '0|Included on front page 1|This event is excluded from the front page upcoming events block.', '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' => '-4', 'parent' => '', 'label' => array ( 'format' => 'inline', ), 'teaser' => array ( 'format' => 'hidden', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 1 => array ( 'label' => 'Date', 'field_name' => 'field_date', 'type' => 'date', 'widget_type' => 'date_popup_repeat', 'change' => 'Change basic information', 'weight' => '-3', 'default_value' => 'now', 'default_value2' => 'blank', 'default_value_code' => 'today', 'default_value_code2' => '', 'input_format' => 'Y-m-d H:i:s', 'input_format_custom' => 'Y-m-d h:i:sa', 'year_range' => '-3:+3', 'increment' => '1', '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' => 'To specify an all-day event, keep the time fields blank. To do this, select the time field and hit the delete button on your keyboard. This will not work with the backspace key.', 'group' => false, 'required' => 1, 'multiple' => 1, 'repeat' => 1, 'todate' => 'optional', 'granularity' => array ( 'year' => 'year', 'month' => 'month', 'day' => 'day', 'hour' => 'hour', 'minute' => 'minute', 'second' => 'second', ), 'default_format' => 'medium', 'tz_handling' => 'none', 'timezone_db' => 'America/Chicago', 'repeat_collapsed' => '1', 'op' => 'Save field settings', 'module' => 'date', 'widget_module' => 'date', 'columns' => array ( 'value' => array ( 'type' => 'varchar', 'length' => 20, 'not null' => false, 'sortable' => true, 'views' => true, ), 'value2' => array ( 'type' => 'varchar', 'length' => 20, 'not null' => false, 'sortable' => true, 'views' => false, ), 'rrule' => array ( 'type' => 'text', 'not null' => false, 'sortable' => false, 'views' => false, ), ), 'display_settings' => array ( 'weight' => '-1', 'parent' => '', 'label' => array ( 'format' => 'inline', ), 'teaser' => array ( 'format' => 'medium', 'exclude' => 0, ), 'full' => array ( 'format' => 'medium', 'exclude' => 0, ), ), ), 2 => array ( 'label' => 'Homepage', 'field_name' => 'field_homepage', 'type' => 'link', 'widget_type' => 'link', 'change' => 'Change basic information', 'weight' => 0, 'description' => 'If the event has a web page on another site with more info, enter it here.', 'default_value' => array ( 0 => array ( 'url' => '', 'title' => '', 'attributes' => 'N;', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_homepage' => array ( 0 => array ( 'url' => '', 'title' => '', 'attributes' => 'N;', ), ), ), 'group' => 'group_event_homepage', 'required' => 0, 'multiple' => '0', 'url' => 0, 'title' => 'optional', 'title_value' => '', 'enable_tokens' => 0, 'display' => array ( 'url_cutoff' => '80', ), 'attributes' => array ( 'target' => 'default', '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' => 0, 'parent' => 'group_event_homepage', 'label' => array ( 'format' => 'inline', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), ); $content['extra'] = array ( 'title' => '-5', 'body_field' => '-2', 'menu' => '1', 'attachments' => '0', );