diff --git a/views/default_views/project_feed.view.php b/views/default_views/project_feed.view.php new file mode 100644 index 0000000..c6eac28 --- /dev/null +++ b/views/default_views/project_feed.view.php @@ -0,0 +1,371 @@ +$view = new view; +$view->name = 'project_feed'; +$view->description = ''; +$view->tag = ''; +$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('sorts', array( + 'created' => array( + 'order' => 'DESC', + 'granularity' => 'second', + 'id' => 'created', + 'table' => 'node', + 'field' => 'created', + 'relationship' => 'none', + ), +)); +$handler->override_option('arguments', array( + 'tid' => array( + 'default_action' => 'not found', + 'style_plugin' => 'default_summary', + 'style_options' => array(), + 'wildcard' => 'all', + 'wildcard_substitution' => 'All', + 'title' => '', + 'breadcrumb' => '', + 'default_argument_type' => 'fixed', + 'default_argument' => '', + 'validate_type' => 'project_type_term', + 'validate_fail' => 'not found', + 'break_phrase' => 0, + 'add_table' => 0, + 'require_value' => 0, + 'reduce_duplicates' => 0, + 'set_breadcrumb' => 0, + 'id' => 'tid', + 'table' => 'term_node', + 'field' => 'tid', + 'validate_user_argument_type' => 'uid', + 'validate_user_roles' => array( + '2' => 0, + '18' => 0, + '3' => 0, + '5' => 0, + '16' => 0, + '22' => 0, + '20' => 0, + '24' => 0, + '12' => 0, + '4' => 0, + '14' => 0, + '7' => 0, + ), + 'relationship' => 'none', + 'default_options_div_prefix' => '', + 'default_argument_fixed' => '', + 'default_argument_user' => 0, + 'default_argument_image_size' => '_original', + 'default_argument_php' => '', + 'validate_argument_node_type' => array( + 'organization' => 0, + 'image' => 0, + 'forum' => 0, + 'project_project' => 0, + 'project_release' => 0, + 'project_issue' => 0, + 'book' => 0, + 'packaging_whitelist' => 0, + 'page' => 0, + 'showcase' => 0, + 'story' => 0, + ), + 'validate_argument_node_access' => 0, + 'validate_argument_nid_type' => 'nid', + 'validate_argument_vocabulary' => array( + '1' => 0, + '5' => 0, + '38' => 0, + '6' => 0, + '4' => 0, + '44' => 0, + '46' => 0, + '3' => 0, + '48' => 0, + '50' => 0, + '52' => 0, + '7' => 0, + '2' => 0, + '31' => 0, + '32' => 0, + '33' => 0, + '34' => 0, + '9' => 0, + ), + 'validate_argument_type' => 'tid', + 'validate_argument_transform' => 0, + 'validate_user_restrict_roles' => 0, + 'image_size' => array( + '_original' => '_original', + 'thumbnail' => 'thumbnail', + 'preview' => 'preview', + ), + 'validate_argument_project_term_argument_type' => 'tid', + 'validate_argument_project_term_argument_action_top_without' => 'pass', + 'validate_argument_project_term_argument_action_top_with' => 'pass', + 'validate_argument_project_term_argument_action_child' => 'fail', + 'validate_argument_php' => '', + ), +)); +$handler->override_option('filters', array( + 'type' => array( + 'operator' => 'in', + 'value' => array( + 'project_project' => 'project_project', + ), + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'type', + 'table' => 'node', + 'field' => 'type', + 'relationship' => 'none', + ), + 'sandbox' => array( + 'operator' => '=', + 'value' => '0', + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'sandbox', + 'table' => 'project_projects', + 'field' => 'sandbox', + 'relationship' => 'none', + ), + 'status' => array( + 'operator' => '=', + 'value' => '1', + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'status', + 'table' => 'node', + 'field' => 'status', + 'relationship' => 'none', + ), +)); +$handler->override_option('access', array( + 'type' => 'none', +)); +$handler->override_option('cache', array( + 'type' => 'none', +)); +$handler->override_option('row_plugin', 'node'); +$handler->override_option('row_options', array( + 'relationship' => 'none', + 'build_mode' => 'teaser', + 'links' => 0, + 'comments' => 0, +)); +$handler = $view->new_display('feed', 'Full project feed', 'feed_1'); +$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( + 'relationship' => 'none', + 'item_length' => 'default', +)); +$handler->override_option('path', 'taxonomy/term/%/full/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, + 'name' => 'navigation', +)); +$handler->override_option('displays', array()); +$handler->override_option('sitename_title', FALSE); +$handler = $view->new_display('feed', 'Sandbox feed', 'feed_2'); +$handler->override_option('arguments', array( + 'tid' => array( + 'default_action' => 'not found', + 'style_plugin' => 'default_summary', + 'style_options' => array(), + 'wildcard' => 'all', + 'wildcard_substitution' => 'All', + 'title' => '', + 'breadcrumb' => '', + 'default_argument_type' => 'fixed', + 'default_argument' => '', + 'validate_type' => 'project_type_term', + 'validate_fail' => 'not found', + 'break_phrase' => 0, + 'add_table' => 0, + 'require_value' => 0, + 'reduce_duplicates' => 0, + 'set_breadcrumb' => 0, + 'id' => 'tid', + 'table' => 'term_node', + 'field' => 'tid', + 'validate_user_argument_type' => 'uid', + 'validate_user_roles' => array( + '2' => 0, + '18' => 0, + '3' => 0, + '5' => 0, + '16' => 0, + '22' => 0, + '20' => 0, + '24' => 0, + '12' => 0, + '4' => 0, + '14' => 0, + '7' => 0, + ), + 'override' => array( + 'button' => 'Use default', + ), + 'relationship' => 'none', + 'default_options_div_prefix' => '', + 'default_argument_fixed' => '', + 'default_argument_user' => 0, + 'default_argument_image_size' => '_original', + 'default_argument_php' => '', + 'validate_argument_node_type' => array( + 'organization' => 0, + 'image' => 0, + 'forum' => 0, + 'project_project' => 0, + 'project_release' => 0, + 'project_issue' => 0, + 'book' => 0, + 'packaging_whitelist' => 0, + 'page' => 0, + 'showcase' => 0, + 'story' => 0, + ), + 'validate_argument_node_access' => 0, + 'validate_argument_nid_type' => 'nid', + 'validate_argument_vocabulary' => array( + '1' => 0, + '5' => 0, + '38' => 0, + '6' => 0, + '4' => 0, + '44' => 0, + '46' => 0, + '3' => 0, + '48' => 0, + '50' => 0, + '52' => 0, + '7' => 0, + '2' => 0, + '31' => 0, + '32' => 0, + '33' => 0, + '34' => 0, + '9' => 0, + ), + 'validate_argument_type' => 'tid', + 'validate_argument_transform' => 0, + 'validate_user_restrict_roles' => 0, + 'image_size' => array( + '_original' => '_original', + 'thumbnail' => 'thumbnail', + 'preview' => 'preview', + ), + 'validate_argument_project_term_argument_type' => 'tid', + 'validate_argument_project_term_argument_action_top_without' => 'pass', + 'validate_argument_project_term_argument_action_top_with' => 'pass', + 'validate_argument_project_term_argument_action_child' => 'fail', + 'validate_argument_php' => '', + ), +)); +$handler->override_option('filters', array( + 'type' => array( + 'operator' => 'in', + 'value' => array( + 'project_project' => 'project_project', + ), + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'type', + 'table' => 'node', + 'field' => 'type', + 'relationship' => 'none', + ), + 'sandbox' => array( + 'operator' => '=', + 'value' => '1', + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'sandbox', + 'table' => 'project_projects', + 'field' => 'sandbox', + 'relationship' => 'none', + 'override' => array( + 'button' => 'Use default', + ), + ), + 'status' => array( + 'operator' => '=', + 'value' => '1', + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'status', + 'table' => 'node', + 'field' => 'status', + 'relationship' => 'none', + ), +)); +$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( + 'relationship' => 'none', + 'item_length' => 'default', +)); +$handler->override_option('path', 'taxonomy/term/%/sandbox/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, + 'name' => 'navigation', +)); +$handler->override_option('displays', array()); +$handler->override_option('sitename_title', FALSE);