$view = new view; $view->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( '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', ), 'image_image' => 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_to_node' => 1, 'image_derivative' => '_original', 'exclude' => 0, 'id' => 'image_image', 'table' => 'node', 'field' => 'image_image', '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( '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('distinct', 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('fields', array( 'title' => 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, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', 'override' => array( 'button' => 'Use default', ), ), 'image_image_1' => 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, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'image_derivative' => 'thumbnail', 'exclude' => 1, 'id' => 'image_image_1', 'table' => 'node', 'field' => 'image_image', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'body' => 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, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 1, 'id' => 'body', 'table' => 'node_revisions', 'field' => 'body', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'image_image' => array( 'label' => 'Image: For Lightbox', '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, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'image_derivative' => 'controlled original', 'exclude' => 1, 'id' => 'image_image', 'table' => 'node', 'field' => 'image_image', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'lightbox2' => array( 'label' => 'Lightbox trigger', 'alter' => array( 'link_class' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'trigger_field' => 'image_image_1', 'popup' => '[title] [image_image] [body]', 'caption' => '', 'rel_group' => 1, 'custom_group' => '', 'height' => '400px', 'width' => '600px', 'exclude' => 0, 'id' => 'lightbox2', 'table' => 'lightbox2', 'field' => 'lightbox2', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('filters', array( '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', 'override' => array( 'button' => 'Use default', ), ), )); $handler->override_option('row_options', array( 'inline' => array(), 'separator' => '', 'hide_empty' => 0, )); $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, 'name' => 'navigation', )); $handler = $view->new_display('block', 'Youth Collection Slideshow', 'block_1'); $handler->override_option('fields', array( 'image_image' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 1, 'path' => 'category/image-galleries/youth-collection', 'link_class' => '', 'alt' => 'Youth Collection Gallery', '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, 'image_derivative' => 'embedded', 'exclude' => 0, 'id' => 'image_image', 'table' => 'node', 'field' => 'image_image', 'relationship' => 'none', 'override' => array( 'button' => 'Use default', ), ), )); $handler->override_option('sorts', array()); $handler->override_option('arguments', array()); $handler->override_option('filters', array( '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', 'override' => array( 'button' => 'Use default', ), ), 'term_node_tid_depth' => array( 'operator' => 'or', 'value' => array( '0' => '309', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'type' => 'textfield', 'limit' => TRUE, 'vid' => '20', 'depth' => '5', 'id' => 'term_node_tid_depth', 'table' => 'node', 'field' => 'term_node_tid_depth', 'hierarchy' => 0, 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', 'reduce_duplicates' => 0, ), )); $handler->override_option('title', ''); $handler->override_option('footer_format', '1'); $handler->override_option('footer_empty', 0); $handler->override_option('items_per_page', 0); $handler->override_option('style_plugin', 'slideshow'); $handler->override_option('style_options', array( 'grouping' => '', 'type' => 'ul', 'mode' => 'singleframe', 'singleframe' => array( 'timeout' => '5000', 'delay' => '0', 'speed' => '700', 'random' => '1', 'pause' => '1', 'controls' => '2', 'pager' => '0', 'pager_type' => '0', 'pager_hover' => '2', 'image_count' => '0', 'effect' => 'fade', 'sync' => '1', 'advanced' => '', 'ie' => array( 'cleartype' => 'true', 'cleartypenobg' => 'false', ), ), 'thumbnailhover' => array( 'hover_breakout' => 'teaser', 'teasers_last' => 1, 'timeout' => '5000', 'delay' => '0', 'speed' => '300', 'random' => '0', 'pause' => '', 'pager_event' => 'mouseover', 'controls' => '0', 'image_count' => '0', 'effect' => 'fade', 'sync' => '', 'advanced' => '', 'ie' => array( 'cleartype' => 'true', 'cleartypenobg' => 'false', ), ), )); $handler->override_option('block_description', ''); $handler->override_option('block_caching', -1);