$view = new view; $view->name = 'directory'; $view->description = 'Directory'; $view->tag = 'directory'; $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', 'Film Business Directory', 'default'); $handler->override_option('fields', array( 'picture' => array( 'label' => '', 'exclude' => 0, 'id' => 'picture', 'table' => 'users', 'field' => 'picture', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), 'name' => array( 'label' => '', 'link_to_user' => 1, 'exclude' => 0, 'id' => 'name', 'table' => 'users', 'field' => 'name', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), 'field_company_value' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 1, 'max_length' => '20', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'link_to_node' => 0, 'label_type' => 'custom', 'format' => 'trimmed', 'multiple' => array( 'group' => TRUE, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => FALSE, ), 'exclude' => 0, 'id' => 'field_company_value', 'table' => 'node_data_field_company', 'field' => 'field_company_value', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), 'field_telephone_value' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, '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_telephone_value', 'table' => 'node_data_field_telephone', 'field' => 'field_telephone_value', 'relationship' => 'none', ), 'field_services_value' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 1, 'max_length' => '30', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 0, '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_services_value', 'table' => 'node_data_field_services', 'field' => 'field_services_value', 'relationship' => 'none', ), 'tid_3' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 1, 'path' => 'directory/[tid_3]', '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, 'type' => 'separator', 'separator' => ' | ', 'link_to_taxonomy' => 0, 'limit' => 1, 'vids' => array( '1' => 1, '4' => 4, '3' => 0, '2' => 0, '6' => 0, '8' => 0, '5' => 0, '9' => 0, ), 'exclude' => 0, 'id' => 'tid_3', 'table' => 'term_node', 'field' => 'tid', 'relationship' => 'none', ), 'tid_1' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 1, 'path' => 'directory/[tid_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' => 0, 'empty_zero' => 0, 'type' => 'ol', 'separator' => ' | ', 'link_to_taxonomy' => 0, 'limit' => 1, 'vids' => array( '2' => 2, '1' => 0, '4' => 0, '3' => 0, '6' => 0, '5' => 0, '10' => 0, '8' => 0, '11' => 0, '12' => 0, '13' => 0, ), 'exclude' => 0, 'id' => 'tid_1', 'table' => 'term_node', 'field' => 'tid', 'relationship' => 'none', 'override' => array( 'button' => 'Override', ), ), )); $handler->override_option('sorts', array( 'weight' => array( 'order' => 'ASC', 'id' => 'weight', 'table' => 'role_weights', 'field' => 'weight', 'relationship' => 'none', 'override' => array( 'button' => 'Override', ), ), )); $handler->override_option('arguments', array( 'name' => array( 'default_action' => 'ignore', 'style_plugin' => 'default_summary', 'style_options' => array(), 'wildcard' => 'all', 'wildcard_substitution' => 'All', 'title' => 'Film Production Directory | %1', 'breadcrumb' => '', 'default_argument_type' => 'fixed', 'default_argument' => '', 'validate_type' => 'none', 'validate_fail' => 'not found', 'glossary' => 0, 'limit' => '0', 'case' => 'none', 'path_case' => 'none', 'transform_dash' => 0, 'add_table' => 0, 'require_value' => 0, 'id' => 'name', 'table' => 'term_data', 'field' => 'name', 'validate_user_argument_type' => 'uid', 'validate_user_roles' => array( '2' => 0, '5' => 0, '3' => 0, '6' => 0, '4' => 0, '7' => 0, ), 'relationship' => 'none', 'default_options_div_prefix' => '', 'default_argument_user' => 0, 'default_argument_fixed' => '', 'default_argument_php' => '', 'validate_argument_node_type' => array( 'product' => 0, 'article' => 0, 'equipment' => 0, 'event' => 0, 'finance' => 0, 'jobs' => 0, 'page' => 0, 'profile' => 0, ), 'validate_argument_node_access' => 0, 'validate_argument_nid_type' => 'nid', 'validate_argument_vocabulary' => array( '1' => 0, '4' => 0, '2' => 0, '3' => 0, '6' => 0, '5' => 0, '10' => 0, '8' => 0, '11' => 0, '12' => 0, '13' => 0, ), 'validate_argument_type' => 'tid', 'validate_argument_transform' => 0, 'validate_user_restrict_roles' => 0, 'validate_argument_node_flag_name' => '*relationship*', 'validate_argument_node_flag_test' => 'flaggable', 'validate_argument_node_flag_id_type' => 'id', 'validate_argument_user_flag_name' => '*relationship*', 'validate_argument_user_flag_test' => 'flaggable', 'validate_argument_user_flag_id_type' => 'id', 'validate_argument_php' => '', 'override' => array( 'button' => 'Override', ), ), )); $handler->override_option('filters', array( 'status_extra' => array( 'operator' => '=', 'value' => '', 'group' => 0, 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'status_extra', 'table' => 'node', 'field' => 'status_extra', 'relationship' => 'none', 'override' => array( 'button' => 'Override', ), ), 'type' => array( 'operator' => 'in', 'value' => array( 'profile' => 'profile', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), 'rid' => array( 'operator' => 'not', 'value' => array( '5' => '5', '6' => '6', '7' => '7', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'rid', 'table' => 'users_roles', 'field' => 'rid', 'relationship' => 'none', 'reduce_duplicates' => 1, 'override' => array( 'button' => 'Override', ), ), 'tid' => array( 'operator' => 'or', 'value' => array(), 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'operator' => 'tid_op', 'label' => 'Choose a Country', 'use_operator' => 0, 'identifier' => 'tid', 'optional' => 1, 'single' => 1, 'remember' => 0, 'reduce' => 0, ), 'type' => 'select', 'limit' => TRUE, 'vid' => '1', 'id' => 'tid', 'table' => 'term_node', 'field' => 'tid', 'hierarchy' => 0, 'relationship' => 'none', 'reduce_duplicates' => 0, ), 'tid_1' => array( 'operator' => 'or', 'value' => array(), 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'operator' => 'tid_1_op', 'label' => 'Directory Listing', 'use_operator' => 0, 'identifier' => 'tid_1', 'optional' => 1, 'single' => 1, 'remember' => 0, 'reduce' => 0, ), 'type' => 'select', 'limit' => TRUE, 'vid' => '2', 'id' => 'tid_1', 'table' => 'term_node', 'field' => 'tid', 'hierarchy' => 1, 'relationship' => 'none', 'reduce_duplicates' => 0, ), )); $handler->override_option('access', array( 'type' => 'perm', 'perm' => 'access content', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('title', 'International Film Production Directory'); $handler->override_option('use_pager', '1'); $handler->override_option('link_display', 'page'); $handler->override_option('style_plugin', 'table'); $handler->override_option('style_options', array( 'grouping' => '', 'override' => 1, 'sticky' => 0, 'order' => 'asc', 'columns' => array( 'picture' => 'picture', 'name' => 'name', 'field_company_value' => 'name', 'field_telephone_value' => 'name', 'field_services_value' => 'name', 'tid_3' => 'tid_3', 'tid_1' => 'tid_3', ), 'info' => array( 'picture' => array( 'sortable' => 0, 'separator' => '', ), 'name' => array( 'sortable' => 0, 'separator' => '
', ), 'field_company_value' => array( 'sortable' => 0, 'separator' => '', ), 'field_telephone_value' => array( 'sortable' => 0, 'separator' => '', ), 'field_services_value' => array( 'sortable' => 0, 'separator' => '', ), 'tid_3' => array( 'separator' => '
', ), 'tid_1' => array( 'separator' => '
', ), ), 'default' => '-1', )); $handler->override_option('row_options', array( 'inline' => array( 'picture' => 'picture', 'name' => 'name', 'field_company_value' => 'field_company_value', 'field_directory_value' => 'field_directory_value', 'tid' => 'tid', 'field_introduction_value' => 'field_introduction_value', ), 'separator' => '', )); $handler = $view->new_display('page', 'International Film Directory', 'page'); $handler->override_option('filters', array( 'status_extra' => array( 'operator' => '=', 'value' => '', 'group' => 0, 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'status_extra', 'table' => 'node', 'field' => 'status_extra', 'relationship' => 'none', 'override' => array( 'button' => 'Override', ), ), 'type' => array( 'operator' => 'in', 'value' => array( 'profile' => 'profile', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), 'rid' => array( 'operator' => 'not', 'value' => array( '5' => '5', '6' => '6', '7' => '7', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'rid', 'table' => 'users_roles', 'field' => 'rid', 'relationship' => 'none', 'reduce_duplicates' => 1, 'override' => array( 'button' => 'Use default', ), ), 'tid' => array( 'operator' => 'or', 'value' => array(), 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'operator' => 'tid_op', 'label' => 'Choose a Country', 'use_operator' => 0, 'identifier' => 'tid', 'optional' => 1, 'single' => 1, 'remember' => 0, 'reduce' => 0, ), 'type' => 'select', 'limit' => TRUE, 'vid' => '1', 'id' => 'tid', 'table' => 'term_node', 'field' => 'tid', 'hierarchy' => 0, 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', 'reduce_duplicates' => 0, ), 'tid_1' => array( 'operator' => 'or', 'value' => array(), 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'operator' => 'tid_1_op', 'label' => 'Directory Listing', 'use_operator' => 0, 'identifier' => 'tid_1', 'optional' => 1, 'single' => 1, 'remember' => 0, 'reduce' => 0, ), 'type' => 'select', 'limit' => TRUE, 'vid' => '2', 'id' => 'tid_1', 'table' => 'term_node', 'field' => 'tid', 'hierarchy' => 1, 'relationship' => 'none', 'reduce_duplicates' => 0, ), )); $handler->override_option('path', 'directory'); $handler->override_option('menu', array( 'type' => 'default tab', 'title' => 'Film Directory', 'description' => 'International Film Production Directory', 'weight' => '-1', 'name' => 'primary-links', )); $handler->override_option('tab_options', array( 'type' => 'tab', 'title' => 'Film Production Directory', 'description' => 'International Film Production Directory', 'weight' => '0', )); $handler = $view->new_display('page', 'Page', 'page_1'); $handler->override_option('filters', array( 'status_extra' => array( 'operator' => '=', 'value' => '', 'group' => 0, 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'status_extra', 'table' => 'node', 'field' => 'status_extra', 'relationship' => 'none', 'override' => array( 'button' => 'Override', ), ), 'type' => array( 'operator' => 'in', 'value' => array( 'profile' => 'profile', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), 'rid' => array( 'operator' => 'not', 'value' => array( '5' => '5', '6' => '6', '7' => '7', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'rid', 'table' => 'users_roles', 'field' => 'rid', 'relationship' => 'none', 'reduce_duplicates' => 1, 'override' => array( 'button' => 'Use default', ), ), 'tid' => array( 'operator' => 'or', 'value' => array(), 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'use_operator' => 0, 'operator' => 'tid_op', 'identifier' => 'tid', 'label' => 'Choose a Country', 'optional' => 1, 'single' => 1, 'remember' => 0, 'reduce' => 0, ), 'type' => 'select', 'limit' => TRUE, 'vid' => '1', 'id' => 'tid', 'table' => 'term_node', 'field' => 'tid', 'hierarchy' => 0, 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', 'reduce_duplicates' => 0, ), 'tid_1' => array( 'operator' => 'or', 'value' => array(), 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'use_operator' => 0, 'operator' => 'tid_1_op', 'identifier' => 'tid_1', 'label' => 'Choose a Directory Listing', 'optional' => 1, 'single' => 1, 'remember' => 0, 'reduce' => 0, ), 'type' => 'select', 'limit' => TRUE, 'vid' => '2', 'id' => 'tid_1', 'table' => 'term_node', 'field' => 'tid', 'hierarchy' => 1, 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', 'reduce_duplicates' => 0, ), )); $handler->override_option('path', 'directory/%'); $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 = $view->new_display('feed', 'Feed', 'feed_1'); $handler->override_option('filters', array( 'status_extra' => array( 'operator' => '=', 'value' => '', 'group' => 0, 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'status_extra', 'table' => 'node', 'field' => 'status_extra', 'relationship' => 'none', 'override' => array( 'button' => 'Override', ), ), 'type' => array( 'operator' => 'in', 'value' => array( 'profile' => 'profile', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), 'rid' => array( 'operator' => 'not', 'value' => array( '5' => '5', '6' => '6', '7' => '7', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'rid', 'table' => 'users_roles', 'field' => 'rid', 'relationship' => 'none', 'reduce_duplicates' => 1, 'override' => array( 'button' => 'Override', ), ), )); $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', 'film-company-directory.xml'); $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()); $handler->override_option('sitename_title', FALSE);