站内搜索:
首页
能量聚点学习技术
glossary:
$view = new view; $view->name = 'glossary'; $view->description = 'A list of all content, by letter.'; $view->tag = 'default'; $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' => 'Title', 'link_to_node' => 1, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', ), 'name' => array( 'label' => 'Author', 'link_to_user' => 1, 'exclude' => 0, 'id' => 'name', 'table' => 'users', 'field' => 'name', 'relationship' => 'none', ), 'changed' => array( 'label' => 'Last update', 'date_format' => 'large', 'custom_date_format' => '', 'exclude' => 0, 'id' => 'changed', 'table' => 'node', 'field' => 'changed', 'relationship' => 'none', ), )); $handler->override_option('arguments', array( 'title' => 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', 'glossary' => 1, 'limit' => '1', 'case' => 'upper', 'path_case' => 'lower', 'transform_dash' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', 'default_argument_user' => 0, 'default_argument_fixed' => 'a', 'default_argument_php' => '', 'validate_argument_vocabulary' => array(), 'validate_argument_type' => 'tid', 'validate_argument_php' => '', ), )); $handler->override_option('access', array( 'type' => 'none', 'role' => array(), 'perm' => '', )); $handler->override_option('use_ajax', '1'); $handler->override_option('items_per_page', 36); $handler->override_option('use_pager', '1'); $handler->override_option('style_plugin', 'table'); $handler->override_option('style_options', array( 'grouping' => '', 'override' => 1, 'sticky' => 0, 'order' => 'asc', 'columns' => array( 'title' => 'title', 'name' => 'name', 'changed' => 'changed', ), 'info' => array( 'title' => array( 'sortable' => 1, 'separator' => '', ), 'name' => array( 'sortable' => 1, 'separator' => '', ), 'changed' => array( 'sortable' => 1, 'separator' => '', ), ), 'default' => 'title', )); $handler = $view->new_display('page', 'Page', 'page'); $handler->override_option('path', 'glossary'); $handler->override_option('menu', array( 'type' => 'normal', 'title' => 'Glossary', 'weight' => '0', 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'weight' => 0, )); $handler = $view->new_display('attachment', 'Attachment', 'attachment'); $handler->override_option('arguments', array( 'title' => array( 'default_action' => 'summary asc', 'style_plugin' => 'unformatted_summary', 'style_options' => array( 'count' => 1, 'override' => 0, 'items_per_page' => '25', 'inline' => 1, 'separator' => ' | ', ), 'wildcard' => 'all', 'wildcard_substitution' => 'All', 'title' => '', 'default_argument_type' => 'fixed', 'default_argument' => '', 'validate_type' => 'none', 'validate_fail' => 'not found', 'glossary' => 1, 'limit' => '1', 'case' => 'upper', 'path_case' => 'lower', 'transform_dash' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', 'default_argument_user' => 0, 'default_argument_fixed' => 'a', 'validate_argument_vocabulary' => array(), 'validate_argument_php' => '', ), )); $handler->override_option('attachment_position', 'before'); $handler->override_option('inherit_arguments', 0); $handler->override_option('inherit_exposed_filters', FALSE); $handler->override_option('displays', array( 'default' => 'default', 'page' => 'page', ));
用户登录
用户名:
*
密码:
*
创建新帐号
重设密码
导航
Recent posts