Created
December 11, 2013 15:12
-
-
Save pratik60/7912080 to your computer and use it in GitHub Desktop.
Export
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
| $handler = new stdClass(); | |
| $handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */ | |
| $handler->api_version = 1; | |
| $handler->name = 'node_view_panel_context'; | |
| $handler->task = 'node_view'; | |
| $handler->subtask = ''; | |
| $handler->handler = 'panel_context'; | |
| $handler->weight = 0; | |
| $handler->conf = array( | |
| 'title' => 'Article', | |
| 'no_blocks' => 0, | |
| 'pipeline' => 'standard', | |
| 'body_classes_to_remove' => '', | |
| 'body_classes_to_add' => '', | |
| 'css_id' => 'article-page', | |
| 'css' => '', | |
| 'contexts' => array(), | |
| 'relationships' => array(), | |
| 'access' => array( | |
| 'plugins' => array( | |
| 0 => array( | |
| 'name' => 'entity_bundle:node', | |
| 'settings' => array( | |
| 'type' => array( | |
| 'article' => 'article', | |
| ), | |
| ), | |
| 'context' => 'argument_entity_id:node_1', | |
| 'not' => FALSE, | |
| ), | |
| ), | |
| 'logic' => 'and', | |
| ), | |
| ); | |
| $display = new panels_display(); | |
| $display->layout = 'panels_omega_2col_8_4_stacked'; | |
| $display->layout_settings = array(); | |
| $display->panel_settings = array( | |
| 'style_settings' => array( | |
| 'default' => NULL, | |
| 'top' => NULL, | |
| 'left' => NULL, | |
| 'right' => NULL, | |
| 'bottom' => NULL, | |
| ), | |
| ); | |
| $display->cache = array(); | |
| $display->title = ''; | |
| $display->content = array(); | |
| $display->panels = array(); | |
| $pane = new stdClass(); | |
| $pane->pid = 'new-1'; | |
| $pane->panel = 'left'; | |
| $pane->type = 'entity_field'; | |
| $pane->subtype = 'node:field_thumbnail'; | |
| $pane->shown = TRUE; | |
| $pane->access = array(); | |
| $pane->configuration = array( | |
| 'label' => 'title', | |
| 'formatter' => 'image', | |
| 'delta_limit' => 0, | |
| 'delta_offset' => '0', | |
| 'delta_reversed' => FALSE, | |
| 'formatter_settings' => array( | |
| 'image_style' => 'article_detail', | |
| 'image_link' => '', | |
| ), | |
| 'context' => 'argument_entity_id:node_1', | |
| 'override_title' => 1, | |
| 'override_title_text' => '', | |
| ); | |
| $pane->cache = array(); | |
| $pane->style = array( | |
| 'settings' => NULL, | |
| ); | |
| $pane->css = array(); | |
| $pane->extras = array(); | |
| $pane->position = 0; | |
| $pane->locks = array(); | |
| $display->content['new-1'] = $pane; | |
| $display->panels['left'][0] = 'new-1'; | |
| $pane = new stdClass(); | |
| $pane->pid = 'new-2'; | |
| $pane->panel = 'left'; | |
| $pane->type = 'views_panes'; | |
| $pane->subtype = 'article-panel_pane_6'; | |
| $pane->shown = TRUE; | |
| $pane->access = array(); | |
| $pane->configuration = array( | |
| 'override_title' => 1, | |
| 'override_title_text' => '', | |
| ); | |
| $pane->cache = array(); | |
| $pane->style = array( | |
| 'settings' => NULL, | |
| ); | |
| $pane->css = array(); | |
| $pane->extras = array(); | |
| $pane->position = 1; | |
| $pane->locks = array(); | |
| $display->content['new-2'] = $pane; | |
| $display->panels['left'][1] = 'new-2'; | |
| $pane = new stdClass(); | |
| $pane->pid = 'new-3'; | |
| $pane->panel = 'left'; | |
| $pane->type = 'node_content'; | |
| $pane->subtype = 'node_content'; | |
| $pane->shown = TRUE; | |
| $pane->access = array(); | |
| $pane->configuration = array( | |
| 'links' => 1, | |
| 'no_extras' => 1, | |
| 'override_title' => 1, | |
| 'override_title_text' => '', | |
| 'identifier' => '', | |
| 'link' => 1, | |
| 'leave_node_title' => 0, | |
| 'build_mode' => 'full', | |
| 'context' => 'argument_entity_id:node_1', | |
| ); | |
| $pane->cache = array(); | |
| $pane->style = array( | |
| 'settings' => NULL, | |
| ); | |
| $pane->css = array(); | |
| $pane->extras = array(); | |
| $pane->position = 2; | |
| $pane->locks = array(); | |
| $display->content['new-3'] = $pane; | |
| $display->panels['left'][2] = 'new-3'; | |
| $pane = new stdClass(); | |
| $pane->pid = 'new-4'; | |
| $pane->panel = 'left'; | |
| $pane->type = 'views'; | |
| $pane->subtype = 'user_byline'; | |
| $pane->shown = TRUE; | |
| $pane->access = array(); | |
| $pane->configuration = array( | |
| 'override_pager_settings' => 0, | |
| 'use_pager' => 0, | |
| 'nodes_per_page' => '1', | |
| 'pager_id' => '0', | |
| 'offset' => '0', | |
| 'more_link' => 0, | |
| 'feed_icons' => 0, | |
| 'panel_args' => 0, | |
| 'link_to_view' => 0, | |
| 'args' => '', | |
| 'url' => '', | |
| 'display' => 'block_1', | |
| 'context' => array( | |
| 0 => '', | |
| ), | |
| 'override_title' => 1, | |
| 'override_title_text' => '', | |
| ); | |
| $pane->cache = array(); | |
| $pane->style = array( | |
| 'settings' => NULL, | |
| ); | |
| $pane->css = array(); | |
| $pane->extras = array(); | |
| $pane->position = 3; | |
| $pane->locks = array(); | |
| $display->content['new-4'] = $pane; | |
| $display->panels['left'][3] = 'new-4'; | |
| $pane = new stdClass(); | |
| $pane->pid = 'new-5'; | |
| $pane->panel = 'left'; | |
| $pane->type = 'node_comments'; | |
| $pane->subtype = 'node_comments'; | |
| $pane->shown = TRUE; | |
| $pane->access = array(); | |
| $pane->configuration = array( | |
| 'mode' => '1', | |
| 'comments_per_page' => '50', | |
| 'context' => 'argument_entity_id:node_1', | |
| 'override_title' => 1, | |
| 'override_title_text' => 'COMMENTS', | |
| ); | |
| $pane->cache = array(); | |
| $pane->style = array( | |
| 'settings' => NULL, | |
| ); | |
| $pane->css = array(); | |
| $pane->extras = array(); | |
| $pane->position = 4; | |
| $pane->locks = array(); | |
| $display->content['new-5'] = $pane; | |
| $display->panels['left'][4] = 'new-5'; | |
| $pane = new stdClass(); | |
| $pane->pid = 'new-6'; | |
| $pane->panel = 'left'; | |
| $pane->type = 'node_comment_form'; | |
| $pane->subtype = 'node_comment_form'; | |
| $pane->shown = TRUE; | |
| $pane->access = array(); | |
| $pane->configuration = array( | |
| 'anon_links' => 0, | |
| 'context' => 'argument_entity_id:node_1', | |
| 'override_title' => 1, | |
| 'override_title_text' => '', | |
| ); | |
| $pane->cache = array(); | |
| $pane->style = array( | |
| 'settings' => NULL, | |
| ); | |
| $pane->css = array(); | |
| $pane->extras = array(); | |
| $pane->position = 5; | |
| $pane->locks = array(); | |
| $display->content['new-6'] = $pane; | |
| $display->panels['left'][5] = 'new-6'; | |
| $pane = new stdClass(); | |
| $pane->pid = 'new-7'; | |
| $pane->panel = 'right'; | |
| $pane->type = 'block'; | |
| $pane->subtype = 'user-online'; | |
| $pane->shown = TRUE; | |
| $pane->access = array(); | |
| $pane->configuration = array( | |
| 'override_title' => 0, | |
| 'override_title_text' => '', | |
| ); | |
| $pane->cache = array(); | |
| $pane->style = array( | |
| 'settings' => NULL, | |
| ); | |
| $pane->css = array(); | |
| $pane->extras = array(); | |
| $pane->position = 0; | |
| $pane->locks = array(); | |
| $display->content['new-7'] = $pane; | |
| $display->panels['right'][0] = 'new-7'; | |
| $pane = new stdClass(); | |
| $pane->pid = 'new-8'; | |
| $pane->panel = 'right'; | |
| $pane->type = 'block'; | |
| $pane->subtype = 'system-navigation'; | |
| $pane->shown = TRUE; | |
| $pane->access = array(); | |
| $pane->configuration = array( | |
| 'override_title' => 0, | |
| 'override_title_text' => '', | |
| ); | |
| $pane->cache = array(); | |
| $pane->style = array( | |
| 'settings' => NULL, | |
| ); | |
| $pane->css = array(); | |
| $pane->extras = array(); | |
| $pane->position = 1; | |
| $pane->locks = array(); | |
| $display->content['new-8'] = $pane; | |
| $display->panels['right'][1] = 'new-8'; | |
| $pane = new stdClass(); | |
| $pane->pid = 'new-9'; | |
| $pane->panel = 'right'; | |
| $pane->type = 'block'; | |
| $pane->subtype = 'system-user-menu'; | |
| $pane->shown = TRUE; | |
| $pane->access = array(); | |
| $pane->configuration = array( | |
| 'override_title' => 0, | |
| 'override_title_text' => '', | |
| ); | |
| $pane->cache = array(); | |
| $pane->style = array( | |
| 'settings' => NULL, | |
| ); | |
| $pane->css = array(); | |
| $pane->extras = array(); | |
| $pane->position = 2; | |
| $pane->locks = array(); | |
| $display->content['new-9'] = $pane; | |
| $display->panels['right'][2] = 'new-9'; | |
| $display->hide_title = PANELS_TITLE_NONE; | |
| $display->title_pane = '0'; | |
| $handler->conf['display'] = $display; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment