$view = new view; $view->name = 'signup_admin_overview'; $view->description = 'Administrative overview of all signup-enabled content'; $view->tag = 'Signup'; $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( 'title' => array( 'label' => 'Title', '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_node' => 1, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', ), 'status' => array( 'label' => 'Status', '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, 'exclude' => 0, 'id' => 'status', 'table' => 'signup', 'field' => 'status', 'relationship' => 'none', ), 'node_link_1' => array( 'label' => 'Operations', '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, 'text' => 'administer', 'exclude' => 0, 'id' => 'node_link_1', 'table' => 'signup', 'field' => 'node_link', 'relationship' => 'none', 'tab' => 'admin', 'destination' => 1, ), 'node_link_2' => array( 'label' => 'Settings', '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, 'text' => 'settings', 'exclude' => 0, 'id' => 'node_link_2', 'table' => 'signup', 'field' => 'node_link', 'relationship' => 'none', 'tab' => 'settings', 'destination' => 1, ), 'node_link' => array( 'label' => 'Broadcast', '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, 'text' => 'broadcast', 'exclude' => 0, 'id' => 'node_link', 'table' => 'signup', 'field' => 'node_link', 'relationship' => 'none', 'tab' => 'broadcast', 'destination' => 1, ), )); $handler->override_option('filters', array( 'signup_disabled' => array( 'operator' => '=', 'value' => '1', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'signup_disabled', 'table' => 'signup', 'field' => 'signup_disabled', 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'none', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('style_plugin', 'table'); $handler->override_option('style_options', array( 'grouping' => '', 'override' => 1, 'sticky' => 1, 'order' => 'asc', 'columns' => array( 'title' => 'title', 'status' => 'status', 'node_link_1' => 'node_link_1', 'node_link' => 'node_link_1', 'node_link_2' => 'node_link_1', ), 'info' => array( 'title' => array( 'sortable' => 1, 'separator' => '', ), 'status' => array( 'sortable' => 1, 'separator' => '', ), 'node_link_1' => array( 'separator' => ' | ', ), 'node_link' => array( 'separator' => '', ), 'node_link_2' => array( 'separator' => '', ), ), 'default' => 'title', )); $handler = $view->new_display('page', 'Page', 'page_1'); $handler->override_option('path', 'admin/content/signup-views'); $handler->override_option('menu', array( 'type' => 'normal', 'title' => 'Signup views administration', 'description' => '', 'weight' => '0', 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, ));