$view = new view; $view->name = 'contact_libraries'; $view->description = 'Contact Information by Library'; $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('fields', array( 'title' => array( 'id' => 'title', 'table' => 'node', 'field' => 'title', 'label' => 'Name', 'link_to_node' => TRUE, ), 'field_position_value' => array( 'id' => 'field_position_value', 'table' => 'node_data_field_position', 'field' => 'field_position_value', 'label' => 'Position', ), 'field_phone_value' => array( 'id' => 'field_phone_value', 'table' => 'node_data_field_phone', 'field' => 'field_phone_value', 'label' => 'Phone', ), 'field_extension_value' => array( 'label' => 'Ext', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'link_to_node' => 0, 'label_type' => 'custom', 'format' => 'default', 'multiple' => array( 'group' => TRUE, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => FALSE, ), 'exclude' => 0, 'id' => 'field_extension_value', 'table' => 'node_data_field_extension', 'field' => 'field_extension_value', 'relationship' => 'none', ), 'field_email_email' => array( 'id' => 'field_email_email', 'table' => 'node_data_field_email', 'field' => 'field_email_email', 'label' => 'E-mail', 'format' => 'contact', 'multiple' => array( 'group' => 0, ), ), )); $handler->override_option('sorts', array( 'sticky' => array( 'order' => 'DESC', 'id' => 'sticky', 'table' => 'node', 'field' => 'sticky', 'relationship' => 'none', ), 'field_lastname_value' => array( 'id' => 'field_lastname_value', 'table' => 'node_data_field_lastname', 'field' => 'field_lastname_value', ), 'field_firstname_value' => array( 'id' => 'field_firstname_value', 'table' => 'node_data_field_firstname', 'field' => 'field_firstname_value', ), )); $handler->override_option('arguments', array( 'field_library_value' => array( 'default_action' => 'not found', 'style_plugin' => 'default_summary', 'style_options' => array(), 'wildcard' => 'all', 'wildcard_substitution' => 'All', 'title' => '%1', 'default_argument_type' => 'fixed', 'default_argument' => '', 'validate_type' => 'none', 'validate_fail' => 'not found', 'add_table' => 0, 'require_value' => 0, 'reduce_duplicates' => 0, 'id' => 'field_library_value', 'table' => 'node_data_field_library', 'field' => 'field_library_value', 'validate_user_argument_type' => 'uid', 'validate_user_roles' => array( '2' => 0, '14' => 0, '30' => 0, '5' => 0, '6' => 0, '21' => 0, '7' => 0, '22' => 0, '8' => 0, '9' => 0, '29' => 0, '10' => 0, '11' => 0, '12' => 0, '13' => 0, '28' => 0, '25' => 0, '32' => 0, '24' => 0, '4' => 0, '26' => 0, '15' => 0, '27' => 0, '20' => 0, '3' => 0, '16' => 0, '31' => 0, '17' => 0, '23' => 0, '18' => 0, ), 'relationship' => 'none', 'default_options_div_prefix' => '', 'default_argument_user' => 0, 'default_argument_fixed' => '', 'default_argument_php' => '', 'validate_argument_node_type' => array( 'webform' => 0, 'about' => 0, 'alumni' => 0, 'archives' => 0, 'archivesexhibits' => 0, 'borrowing' => 0, 'business' => 0, 'contact' => 0, 'copyright' => 0, 'disabilities' => 0, 'education' => 0, 'essayhelp' => 0, 'help' => 0, 'hours' => 0, 'ill' => 0, 'law' => 0, 'music' => 0, 'news' => 0, 'offcampus' => 0, 'plugins' => 0, 'policies' => 0, 'program' => 0, 'researchmodules' => 0, 'resource' => 0, 'resourcedetails' => 0, 'scholarship' => 0, 'secure' => 0, 'service' => 0, 'support' => 0, 'taylor' => 0, 'taylormatters' => 0, 'teaching' => 0, 'visitors' => 0, 'weldon' => 0, 'wl' => 0, ), 'validate_argument_node_access' => 0, 'validate_argument_nid_type' => 'nid', 'validate_argument_vocabulary' => array( '10' => 0, '5' => 0, '6' => 0, '11' => 0, '7' => 0, '2' => 0, '12' => 0, '1' => 0, '9' => 0, ), 'validate_argument_type' => 'tid', 'validate_argument_transform' => 0, 'validate_user_restrict_roles' => 0, 'validate_argument_php' => '', ), )); $handler->override_option('filters', array( 'type' => array( 'id' => 'type', 'table' => 'node', 'field' => 'type', 'operator' => 'in', 'value' => array( '0' => 'contact', ), ), )); $handler->override_option('access', array( 'type' => 'none', 'role' => array(), 'perm' => '', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('header', '