$view = new view; $view->name = 'lerp_admin_internal_contact'; $view->description = 'LERP Admin Internal Contacts'; $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('relationships', array( 'flag_content_rel' => array( 'label' => 'flag', 'required' => 0, 'flag' => 'lerp_appoved', 'user_scope' => 'any', 'id' => 'flag_content_rel', 'table' => 'node', 'field' => 'flag_content_rel', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), )); $handler->override_option('fields', array( 'title' => array( 'label' => 'Title', '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, ), 'link_to_node' => 0, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', ), 'field_building_role_value' => array( 'label' => 'Role', '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' => 0, 'label_type' => 'widget', 'format' => 'default', 'multiple' => array( 'group' => TRUE, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => FALSE, ), 'exclude' => 0, 'id' => 'field_building_role_value', 'table' => 'node_data_field_building_role', 'field' => 'field_building_role_value', 'relationship' => 'none', ), 'tid' => array( 'label' => 'Building', '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, ), 'type' => 'separator', 'separator' => ', ', 'empty' => '', 'link_to_taxonomy' => 0, 'limit' => 1, 'vids' => array( '2' => 2, '1' => 0, '8' => 0, '7' => 0, '5' => 0, '6' => 0, '4' => 0, '3' => 0, ), 'exclude' => 0, 'id' => 'tid', 'table' => 'term_node', 'field' => 'tid', 'relationship' => 'none', ), 'tid_1' => array( 'label' => 'Floor', '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, ), 'type' => 'separator', 'separator' => ', ', 'empty' => '', 'link_to_taxonomy' => 0, 'limit' => 1, 'vids' => array( '4' => 4, '1' => 0, '8' => 0, '7' => 0, '5' => 0, '6' => 0, '2' => 0, '3' => 0, ), 'exclude' => 0, 'id' => 'tid_1', 'table' => 'term_node', 'field' => 'tid', 'relationship' => 'none', ), 'tid_2' => array( 'label' => 'Dept.', '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, ), 'type' => 'separator', 'separator' => ', ', 'empty' => '', 'link_to_taxonomy' => 0, 'limit' => 1, 'vids' => array( '5' => 5, '1' => 0, '8' => 0, '7' => 0, '6' => 0, '2' => 0, '4' => 0, '3' => 0, ), 'exclude' => 0, 'id' => 'tid_2', 'table' => 'term_node', 'field' => 'tid', 'relationship' => 'none', ), 'edit_node' => 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, 'text' => 'edit', 'exclude' => 0, 'id' => 'edit_node', 'table' => 'node', 'field' => 'edit_node', 'relationship' => 'none', ), 'field_draggable_sort_value' => 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, ), 'link_to_node' => 0, 'label_type' => 'none', 'format' => 'default', 'multiple' => array( 'group' => TRUE, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => FALSE, ), 'exclude' => 0, 'id' => 'field_draggable_sort_value', 'table' => 'node_data_field_draggable_sort', 'field' => 'field_draggable_sort_value', 'relationship' => 'none', ), 'name' => array( 'label' => 'Faculty/Division', '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' => 0, 'id' => 'name', 'table' => 'term_data_7', 'field' => 'name', 'relationship' => 'none', 'override' => array( 'button' => 'Override', ), ), 'ops' => 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_type' => 'toggle', 'exclude' => 0, 'id' => 'ops', 'table' => 'flag_content', 'field' => 'ops', 'relationship' => 'flag_content_rel', 'override' => array( 'button' => 'Override', ), ), )); $handler->override_option('sorts', array( 'field_draggable_sort_value' => array( 'order' => 'ASC', 'delta' => -1, 'id' => 'field_draggable_sort_value', 'table' => 'node_data_field_draggable_sort', 'field' => 'field_draggable_sort_value', 'relationship' => 'none', ), 'name' => array( 'order' => 'ASC', 'id' => 'name', 'table' => 'term_data', 'field' => 'name', 'relationship' => 'none', ), )); $handler->override_option('filters', array( 'type' => array( 'operator' => 'in', 'value' => array( 'lerp_internal_contact' => 'lerp_internal_contact', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), 'status' => array( 'operator' => '=', 'value' => '1', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'status', 'table' => 'node', 'field' => 'status', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'none', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('title', 'LERP Building Emergency Contacts'); $handler->override_option('items_per_page', 30); $handler->override_option('style_plugin', 'draggabletable'); $handler->override_option('style_options', array( 'grouping' => '', 'override' => 1, 'sticky' => 0, 'order' => 'asc', 'columns' => array( 'title' => 'title', 'tid' => 'tid', 'tid_1' => 'tid_1', 'tid_2' => 'tid_2', 'field_draggable_sort_value' => 'field_draggable_sort_value', ), 'info' => array( 'title' => array( 'sortable' => 0, 'separator' => '', ), 'tid' => array( 'separator' => '', ), 'tid_1' => array( 'separator' => '', ), 'tid_2' => array( 'separator' => '', ), 'field_draggable_sort_value' => array( 'sortable' => 1, 'separator' => '', ), ), 'default' => 'field_draggable_sort_value', 'tabledrag_hierarchy' => array( 'field' => 'none', 'handler' => 'native', ), 'tabledrag_order' => array( 'field' => 'field_draggable_sort_value', 'handler' => 'cck', ), 'draggableviews_extensions' => array( 'extension_top' => '0', 'extension_bottom' => '0', ), 'tabledrag_order_visible' => array( 'visible' => 0, ), 'tabledrag_hierarchy_visible' => array( 'visible' => 0, ), 'draggableviews_depth_limit' => '-1', 'tabledrag_types_add' => 'Add type', 'tabledrag_expand' => array( 'expand_links' => 'expand_links', 'collapsed' => 0, 'by_uid' => 0, ), 'tabledrag_lock' => array( 'lock' => 0, ), 'draggableviews_default_on_top' => '1', 'draggableviews_arguments' => array( 'use_args' => 0, ), )); $handler = $view->new_display('page', 'Page', 'page_1'); $handler->override_option('path', 'lerp-admin-int-contact'); $handler->override_option('menu', array( 'type' => 'normal', 'title' => 'LERP Internal Contacts', 'description' => '', 'weight' => '0', 'name' => 'menu-editorlinks', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, ));