Created
January 20, 2012 13:14
-
-
Save hron84/1647342 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $view = new view; | |
| $view->name = 'project_pages'; | |
| $view->description = 'Projekt oldalak'; | |
| $view->tag = ''; | |
| $view->base_table = 'node'; | |
| $view->core = 6; | |
| $view->api_version = '2'; | |
| $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ | |
| $handler = $view->new_display('default', 'Alapértelmezések', 'default'); | |
| $handler->override_option('relationships', array( | |
| 'field_parent_project_nid' => array( | |
| 'label' => 'Projekt', | |
| 'required' => 1, | |
| 'delta' => -1, | |
| 'id' => 'field_parent_project_nid', | |
| 'table' => 'node_data_field_parent_project', | |
| 'field' => 'field_parent_project_nid', | |
| 'relationship' => 'none', | |
| ), | |
| )); | |
| $handler->override_option('fields', array( | |
| 'title' => array( | |
| 'label' => 'Cím', | |
| 'alter' => array( | |
| 'alter_text' => 0, | |
| 'text' => '', | |
| 'make_link' => 0, | |
| 'path' => '', | |
| 'absolute' => 0, | |
| 'link_class' => '', | |
| 'alt' => '', | |
| 'rel' => '', | |
| '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, | |
| 'hide_alter_empty' => 1, | |
| 'link_to_node' => 1, | |
| 'exclude' => 0, | |
| 'id' => 'title', | |
| 'table' => 'node', | |
| 'field' => 'title', | |
| 'relationship' => 'none', | |
| ), | |
| 'teaser' => array( | |
| 'label' => 'Bevezető', | |
| 'alter' => array( | |
| 'alter_text' => 0, | |
| 'text' => '', | |
| 'make_link' => 0, | |
| 'path' => '', | |
| 'absolute' => 0, | |
| 'link_class' => '', | |
| 'alt' => '', | |
| 'rel' => '', | |
| '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, | |
| 'hide_alter_empty' => 1, | |
| 'exclude' => 0, | |
| 'id' => 'teaser', | |
| 'table' => 'node_revisions', | |
| 'field' => 'teaser', | |
| 'relationship' => 'none', | |
| ), | |
| )); | |
| $handler->override_option('sorts', array( | |
| 'title' => array( | |
| 'order' => 'ASC', | |
| 'id' => 'title', | |
| 'table' => 'node', | |
| 'field' => 'title', | |
| 'relationship' => 'none', | |
| ), | |
| )); | |
| $handler->override_option('arguments', array( | |
| 'nid' => array( | |
| 'default_action' => 'ignore', | |
| 'style_plugin' => 'default_summary', | |
| 'style_options' => array(), | |
| 'wildcard' => 'all', | |
| 'wildcard_substitution' => 'Minden', | |
| 'title' => '', | |
| 'breadcrumb' => '', | |
| 'default_argument_type' => 'fixed', | |
| 'default_argument' => '', | |
| 'validate_type' => 'none', | |
| 'validate_fail' => 'not found', | |
| 'break_phrase' => 0, | |
| 'not' => 0, | |
| 'id' => 'nid', | |
| 'table' => 'node', | |
| 'field' => 'nid', | |
| 'validate_user_argument_type' => 'uid', | |
| 'validate_user_roles' => array( | |
| 2 => 0, | |
| 3 => 0, | |
| 4 => 0, | |
| ), | |
| 'relationship' => 'none', | |
| 'default_options_div_prefix' => '', | |
| 'default_taxonomy_tid_term_page' => 0, | |
| 'default_taxonomy_tid_node' => 0, | |
| 'default_taxonomy_tid_limit' => 0, | |
| 'default_taxonomy_tid_vids' => array( | |
| 1 => 0, | |
| ), | |
| 'default_argument_user' => 0, | |
| 'default_argument_fixed' => '', | |
| 'default_argument_php' => '', | |
| 'validate_argument_node_type' => array( | |
| 'project_project' => 0, | |
| 'project_issue' => 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', | |
| 'validate_argument_transform' => 0, | |
| 'validate_user_restrict_roles' => 0, | |
| 'validate_argument_project_term_argument_type' => 'tid', | |
| 'validate_argument_project_term_argument_action_top_without' => 'pass', | |
| 'validate_argument_project_term_argument_action_top_with' => 'pass', | |
| 'validate_argument_project_term_argument_action_child' => 'pass', | |
| 'validate_argument_php' => '', | |
| ), | |
| )); | |
| $handler->override_option('access', array( | |
| 'type' => 'none', | |
| )); | |
| $handler->override_option('cache', array( | |
| 'type' => 'none', | |
| )); | |
| $handler = $view->new_display('page', 'Oldal', 'page_1'); | |
| $handler->override_option('path', 'project/%/pages'); | |
| $handler->override_option('menu', array( | |
| 'type' => 'tab', | |
| 'title' => 'Oldalak', | |
| 'description' => 'az', | |
| 'weight' => '0', | |
| 'name' => 'navigation', | |
| )); | |
| $handler->override_option('tab_options', array( | |
| 'type' => 'none', | |
| 'title' => '', | |
| 'description' => '', | |
| 'weight' => 0, | |
| 'name' => 'navigation', | |
| )); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment