$view = new view; $view->name = 'og_ghp_modded'; $view->description = 'Group home page'; $view->tag = 'og'; $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; $view->api_version = 2; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ $handler = $view->new_display('default', 'Defaults', 'default'); $handler->override_option('fields', array( 'nid' => array( 'label' => '', 'alter' => array( 'alter_text' => 1, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'exclude' => 0, 'id' => 'nid', 'table' => 'node', 'field' => 'nid', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), 'title' => array( 'label' => '', 'alter' => array( 'alter_text' => 1, 'text' => '

[title]

', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 1, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', 'override' => array( 'button' => 'Override', ), ), 'post_count' => array( 'label' => '', 'alter' => array( 'alter_text' => 1, 'text' => ', Posts: [post_count].', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 1, 'empty_zero' => 1, 'set_precision' => FALSE, 'precision' => 0, 'decimal' => '.', 'separator' => ',', 'prefix' => '', 'suffix' => '', 'exclude' => 1, 'id' => 'post_count', 'table' => 'og', 'field' => 'post_count', 'relationship' => 'none', 'override' => array( 'button' => 'Override', ), ), 'created' => array( 'label' => 'Created', 'date_format' => 'custom', 'custom_date_format' => 'M y', 'exclude' => 1, 'id' => 'created', 'table' => 'node', 'field' => 'created', 'relationship' => 'none', ), 'member_count' => array( 'label' => '', 'alter' => array( 'alter_text' => 1, 'text' => 'Number of Members: [member_count]', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 1, 'empty_zero' => 1, 'set_precision' => FALSE, 'precision' => 0, 'decimal' => '.', 'separator' => ',', 'prefix' => '', 'suffix' => '', 'exclude' => 1, 'id' => 'member_count', 'table' => 'og', 'field' => 'member_count', 'relationship' => 'none', 'override' => array( 'button' => 'Override', ), ), 'subscribe' => array( 'label' => '', 'alter' => array( 'alter_text' => 1, 'text' => '[subscribe] this group.', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 1, 'empty_zero' => 1, 'exclude' => 1, 'id' => 'subscribe', 'table' => 'og', 'field' => 'subscribe', 'relationship' => 'none', 'override' => array( 'button' => 'Override', ), ), 'nothing' => array( 'label' => '', 'alter' => array( 'text' => '

[member_count][post_count] [subscribe]

', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 0, 'id' => 'nothing', 'table' => 'views', 'field' => 'nothing', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), 'body' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'exclude' => 0, 'id' => 'body', 'table' => 'node_revisions', 'field' => 'body', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), 'field_group_conveners_vname' => array( 'label' => '', 'alter' => array( 'alter_text' => 1, 'text' => '
Conveners:
[field_group_conveners_vname]', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => 'There are currently no conveners for this group. Contact the SCE if you are interested in re-activating this group.', 'hide_empty' => 1, 'empty_zero' => 0, 'link_to_node' => 0, 'label_type' => 'none', 'format' => 'default', 'multiple' => array( 'group' => TRUE, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => FALSE, ), 'exclude' => 0, 'id' => 'field_group_conveners_vname', 'table' => 'node_data_field_group_conveners', 'field' => 'field_group_conveners_vname', 'relationship' => 'none', 'override' => array( 'button' => 'Override', ), ), 'name' => array( 'label' => 'Group Type', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_taxonomy' => 0, 'exclude' => 1, 'id' => 'name', 'table' => 'term_data', 'field' => 'name', 'relationship' => 'none', 'override' => array( 'button' => 'Override', ), ), )); $handler->override_option('sorts', array( 'title' => array( 'order' => 'ASC', 'id' => 'title', 'table' => 'node', 'field' => 'title', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), )); $handler->override_option('filters', array( 'status' => array( 'id' => 'status', 'table' => 'node', 'field' => 'status', 'operator' => '=', 'value' => 1, 'group' => 0, 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'relationship' => 'none', 'expose_button' => array( 'button' => 'Expose', ), ), 'type_groups_all' => array( 'operator' => '=', 'value' => '', 'group' => 0, 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'type_groups_all', 'table' => 'og', 'field' => 'type_groups_all', 'relationship' => 'none', 'expose_button' => array( 'button' => 'Expose', ), 'override' => array( 'button' => 'Override', ), ), 'directory' => array( 'operator' => '=', 'value' => '1', 'group' => 0, 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'directory', 'table' => 'og', 'field' => 'directory', 'relationship' => 'none', 'expose_button' => array( 'button' => 'Expose', ), ), 'tid' => array( 'operator' => 'or', 'value' => array(), 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'use_operator' => 0, 'operator' => 'tid_op', 'identifier' => 'tid', 'label' => '

Select a Type of Group:

', 'optional' => 1, 'single' => 1, 'remember' => 0, 'reduce' => 0, ), 'type' => 'select', 'limit' => TRUE, 'vid' => '2', 'id' => 'tid', 'table' => 'term_node', 'field' => 'tid', 'hierarchy' => 0, 'relationship' => 'none', 'reduce_duplicates' => 0, 'override' => array( 'button' => 'Override', ), ), )); $handler->override_option('access', array( 'type' => 'none', 'role' => array(), 'perm' => '', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('title', 'Groups'); $handler->override_option('empty', 'No groups'); $handler->override_option('empty_format', '1'); $handler->override_option('items_per_page', 90); $handler->override_option('use_pager', '1'); $handler->override_option('style_options', array( 'grouping' => '', )); $handler->override_option('row_options', array( 'inline' => array( 'nid' => 'nid', 'title' => 'title', ), 'separator' => '', 'hide_empty' => 0, )); $handler = $view->new_display('feed', 'Feed', 'feed'); $handler->override_option('sorts', array( 'created' => array( 'order' => 'DESC', 'granularity' => 'second', 'id' => 'created', 'table' => 'node', 'field' => 'created', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('items_per_page', 20); $handler->override_option('style_plugin', 'rss'); $handler->override_option('style_options', array( 'mission_description' => FALSE, 'description' => '', )); $handler->override_option('row_plugin', 'node_rss'); $handler->override_option('row_options', array( 'item_length' => 'default', )); $handler->override_option('path', 'groups/all/feed'); $handler->override_option('menu', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, )); $handler->override_option('displays', array( 'page' => 'page', 'default' => 0, )); $handler->override_option('sitename_title', FALSE); $handler = $view->new_display('page', 'Group List (Page)', 'page'); $handler->override_option('path', 'not_used-3'); $handler->override_option('menu', array( 'type' => 'default tab', 'title' => 'Groups', 'description' => '', 'weight' => '0', 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'normal', 'title' => 'Groups', 'description' => '', 'weight' => '0', )); $handler = $view->new_display('block', 'Group Listing (block)', 'block_1'); $handler->override_option('fields', array( 'title' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '[title] ', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 1, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', 'override' => array( 'button' => 'Use default', ), ), 'nid_1' => array( 'label' => '', 'alter' => array( 'alter_text' => 1, 'text' => '(description)', 'make_link' => 0, 'path' => '#[nid_1]', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 1, 'empty_zero' => 0, 'link_to_node' => 0, 'exclude' => 0, 'id' => 'nid_1', 'table' => 'node', 'field' => 'nid', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'name' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_taxonomy' => 0, 'exclude' => 1, 'id' => 'name', 'table' => 'term_data', 'field' => 'name', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('sorts', array( 'weight' => array( 'order' => 'ASC', 'id' => 'weight', 'table' => 'term_data', 'field' => 'weight', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'title' => array( 'order' => 'ASC', 'id' => 'title', 'table' => 'node', 'field' => 'title', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), )); $handler->override_option('filters', array( 'status' => array( 'id' => 'status', 'table' => 'node', 'field' => 'status', 'operator' => '=', 'value' => 1, 'group' => 0, 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'relationship' => 'none', 'expose_button' => array( 'button' => 'Expose', ), ), 'vid' => array( 'operator' => 'in', 'value' => array( '2' => '2', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'vid', 'table' => 'term_data', 'field' => 'vid', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'directory' => array( 'operator' => '=', 'value' => '1', 'group' => 0, 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'directory', 'table' => 'og', 'field' => 'directory', 'relationship' => 'none', 'expose_button' => array( 'button' => 'Expose', ), 'override' => array( 'button' => 'Use default', ), ), )); $handler->override_option('style_plugin', 'grid'); $handler->override_option('style_options', array( 'grouping' => 'name', 'columns' => '2', 'alignment' => 'horizontal', )); $handler->override_option('row_options', array( 'inline' => array(), 'separator' => '', 'hide_empty' => 0, )); $handler->override_option('block_description', ''); $handler->override_option('block_caching', -1);