$view = new view; $view->name = 'theme_overview'; $view->description = 'Theme overview'; $view->tag = ''; $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('relationships', array( 'vid' => array( 'label' => 'node', 'required' => 0, 'id' => 'vid', 'table' => 'term_node', 'field' => 'vid', 'relationship' => 'none', ), )); $handler->override_option('fields', array( 'name' => 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_taxonomy' => 1, 'exclude' => 0, 'id' => 'name', 'table' => 'term_data', 'field' => 'name', 'relationship' => 'none', ), 'phpcode' => 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, 'value' => 'tid); foreach($children as $tid => $child) { $arr[] = l($child->name, \'taxonomy/term/\' . $tid, array(\'html\' => array(\'class\' => \'child-term\'), \'language\' => $language)); } return theme_item_list((array)$arr); ?>', 'exclude' => 0, 'id' => 'phpcode', 'table' => 'customfield', 'field' => 'phpcode', 'relationship' => 'none', ), 'field_image_cache_fid' => 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, 'label_type' => 'none', 'format' => 'block-bestseller_default', 'multiple' => array( 'group' => 1, 'multiple_number' => '1', 'multiple_from' => '0', 'multiple_reversed' => 0, ), 'exclude' => 0, 'id' => 'field_image_cache_fid', 'table' => 'node_data_field_image_cache', 'field' => 'field_image_cache_fid', 'relationship' => 'vid', ), )); $handler->override_option('sorts', array( 'weight' => array( 'order' => 'ASC', 'id' => 'weight', 'table' => 'term_data', 'field' => 'weight', 'relationship' => 'none', ), )); $handler->override_option('arguments', array( 'parent' => array( 'default_action' => 'default', 'style_plugin' => 'default_summary', 'style_options' => array(), 'wildcard' => 'all', 'wildcard_substitution' => 'All', 'title' => '', 'breadcrumb' => '', 'default_argument_type' => 'taxonomy_tid', 'default_argument' => '', 'validate_type' => 'taxonomy_term', 'validate_fail' => 'not found', 'break_phrase' => 0, 'not' => 0, 'id' => 'parent', 'table' => 'term_hierarchy', 'field' => 'parent', 'validate_user_argument_type' => 'uid', 'validate_user_roles' => array( '2' => 0, '8' => 0, '9' => 0, '4' => 0, '5' => 0, '11' => 0, ), 'relationship' => 'none', 'default_options_div_prefix' => '', 'default_argument_fixed' => '', 'default_argument_user' => 0, 'default_argument_php' => '', 'validate_argument_node_type' => array( 'product' => 0, 'gallery' => 0, 'header_image' => 0, 'location' => 0, 'news' => 0, 'offer' => 0, 'page' => 0, 'spotlight' => 0, 'techtalk' => 0, 'training' => 0, 'video' => 0, 'webform' => 0, ), 'validate_argument_node_access' => 0, 'validate_argument_nid_type' => 'nid', 'validate_argument_vocabulary' => array( '2' => 2, '3' => 0, '6' => 0, '4' => 0, '5' => 0, ), 'validate_argument_type' => 'tid', 'validate_argument_transform' => 0, 'validate_user_restrict_roles' => 0, 'validate_argument_php' => '', 'override' => array( 'button' => 'Override', ), ), )); $handler->override_option('filters', array( 'vid' => array( 'operator' => 'in', 'value' => array( '2' => '2', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'vid', 'table' => 'term_data', 'field' => 'vid', 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'none', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('empty', 'Unfortunately no subcategories could be found.'); $handler->override_option('empty_format', '2'); $handler->override_option('items_per_page', 0); $handler->override_option('distinct', 1); $handler = $view->new_display('page', 'Page: Theme overview', 'page_1'); $handler->override_option('path', 'theme-overview/%'); $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', ));