name = 'image_gallery'; $view->description = 'The default gallery of image nodes from Image gallery module.'; $view->tag = 'image_gallery'; $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( 'image_image' => 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' => 1, 'image_derivative' => 'thumbnail', 'exclude' => 0, 'id' => 'image_image', 'table' => 'node', 'field' => 'image_image', 'relationship' => 'none', ), 'title' => 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' => 1, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', ), )); $handler->override_option('sorts', array( 'title' => array( 'id' => 'title', 'table' => 'node', 'field' => 'title', ), 'changed' => array( 'order' => 'DESC', 'granularity' => 'second', 'id' => 'changed', 'table' => 'node', 'field' => 'changed', 'relationship' => 'none', ), )); $handler->override_option('arguments', array( 'null' => array( 'default_action' => 'default', 'style_plugin' => 'default_summary', 'style_options' => array(), 'wildcard' => 'all', 'wildcard_substitution' => 'All', 'title' => '', 'default_argument_type' => 'fixed', 'default_argument' => '', 'validate_type' => 'none', 'validate_fail' => 'not found', 'must_not_be' => 0, 'id' => 'null', 'table' => 'views', 'field' => 'null', 'relationship' => 'none', 'default_options_div_prefix' => '', 'default_argument_user' => 0, 'default_argument_fixed' => 'tid', 'default_argument_php' => '', 'validate_argument_node_type' => array( 'image' => 0, 'page' => 0, 'story' => 0, ), 'validate_argument_node_access' => 0, 'validate_argument_nid_type' => 'nid', 'validate_argument_vocabulary' => array( '1' => 0, ), 'validate_argument_type' => 'tid', 'user_argument_type' => '', 'restrict_user_roles' => 0, 'user_roles' => array(), 'image_size' => array( '_original' => '_original', 'thumbnail' => 'thumbnail', 'preview' => 'preview', ), 'validate_argument_php' => '', ), 'tid' => array( 'default_action' => 'empty', 'style_plugin' => 'default_summary', 'style_options' => array(), 'wildcard' => 'all', 'wildcard_substitution' => 'All', 'title' => '%2', 'default_argument_type' => 'fixed', 'default_argument' => '', 'validate_type' => 'numeric', 'validate_fail' => 'not found', 'break_phrase' => 0, 'add_table' => 0, 'require_value' => 0, 'reduce_duplicates' => 0, 'set_breadcrumb' => 1, 'id' => 'tid', 'table' => 'term_node', 'field' => 'tid', 'relationship' => 'none', 'default_options_div_prefix' => '', 'default_argument_user' => 0, 'default_argument_fixed' => '', 'default_argument_php' => '', 'validate_argument_node_type' => array( 'image' => 0, 'page' => 0, 'story' => 0, ), 'validate_argument_node_access' => 0, 'validate_argument_nid_type' => 'nid', 'validate_argument_vocabulary' => array( '1' => 1, ), 'validate_argument_type' => 'tid', 'user_argument_type' => 'uid', 'restrict_user_roles' => 0, 'user_roles' => array(), 'image_size' => array( '_original' => '_original', 'thumbnail' => 'thumbnail', 'preview' => 'preview', ), 'validate_argument_php' => '', 'override' => array( 'button' => 'Override', ), ), )); $handler->override_option('filters', array( 'status' => array( 'operator' => '=', 'value' => '1', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'status', 'table' => 'node', 'field' => 'status', 'relationship' => 'none', ), 'type' => array( 'operator' => 'in', 'value' => array( 'image' => 'image', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'none', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('title', 'Image galleries'); $handler->override_option('empty', 'There are no images in this gallery.'); $handler->override_option('empty_format', '1'); $handler->override_option('items_per_page', 12); $handler->override_option('use_pager', '1'); $handler->override_option('style_plugin', 'image_gallery'); $handler->override_option('style_options', array( 'grouping' => '', 'type' => 'ul', )); $handler = $view->new_display('image_gallery', 'Gallery page', 'image_gallery_1'); $handler->override_option('path', 'image'); $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, )); $views[$view->name] = $view; /** * View of gallery terms. */ $vid = _image_gallery_get_vid(); $view = new view; $view->name = 'image_gallery_terms'; $view->description = 'The default list of descendant galleries from Image gallery module. Displayed within the image gallery view.'; $view->tag = 'image_gallery'; $view->view_php = ''; $view->base_table = 'term_data'; $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( 'image_gallery_latest_thumbnail_1' => 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_taxonomy' => 1, 'depth' => 'all', 'descendants' => 'flat', 'image_derivative' => 'thumbnail', 'exclude' => 0, 'id' => 'image_gallery_latest_thumbnail_1', 'table' => 'term_data', 'field' => 'image_gallery_latest_thumbnail', 'relationship' => 'none', ), 'name' => array( 'label' => '', 'alter' => array( 'alter_text' => 1, 'text' => '