disabled = FALSE; /* Edit this to true to make a default page disabled initially */ $page->api_version = 1; $page->name = 'events'; $page->task = 'page'; $page->admin_title = 'events'; $page->admin_description = 'Past and upcoming events'; $page->path = 'events'; $page->access = array(); $page->menu = array(); $page->arguments = array(); $page->conf = array( 'admin_paths' => FALSE, ); $page->default_handlers = array(); $handler = new stdClass(); $handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */ $handler->api_version = 1; $handler->name = 'page_events_panel_context'; $handler->task = 'page'; $handler->subtask = 'events'; $handler->handler = 'panel_context'; $handler->weight = 0; $handler->conf = array( 'title' => 'Panel', 'no_blocks' => 0, 'pipeline' => 'standard', 'css_id' => '', 'css' => '', 'contexts' => array(), 'relationships' => array(), ); $display = new panels_display(); $display->layout = 'flexible'; $display->layout_settings = array( 'items' => array( 'canvas' => array( 'type' => 'row', 'contains' => 'column', 'children' => array( 0 => 'main', ), 'parent' => NULL, ), 'main' => array( 'type' => 'column', 'width' => 100, 'width_type' => '%', 'children' => array( 0 => 'main-row', ), 'parent' => 'canvas', ), 'main-row' => array( 'type' => 'row', 'contains' => 'region', 'children' => array( 0 => 'center', 1 => 'right', ), 'parent' => 'main', ), 'center' => array( 'type' => 'region', 'title' => 'Center', 'width' => '69.95565410199556', 'width_type' => '%', 'parent' => 'main-row', ), 'right' => array( 'type' => 'region', 'title' => 'right', 'width' => '30.04434589800444', 'width_type' => '%', 'parent' => 'main-row', 'class' => '', ), ), ); $display->panel_settings = array( 'style_settings' => array( 'default' => NULL, 'middle' => NULL, 'left' => NULL, 'right' => NULL, 'center' => NULL, ), ); $display->cache = array(); $display->title = ''; $display->content = array(); $display->panels = array(); $pane = new stdClass(); $pane->pid = 'new-1'; $pane->panel = 'center'; $pane->type = 'views'; $pane->subtype = 'events'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'override_pager_settings' => 0, 'use_pager' => 1, 'nodes_per_page' => '10', 'pager_id' => '0', 'offset' => '0', 'more_link' => 0, 'feed_icons' => 0, 'panel_args' => 0, 'link_to_view' => 0, 'args' => '', 'url' => '', 'display' => 'page_1', 'override_title' => 0, 'override_title_text' => 'Past Events', ); $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['center'][0] = 'new-1'; $pane = new stdClass(); $pane->pid = 'new-2'; $pane->panel = 'right'; $pane->type = 'views'; $pane->subtype = 'events'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'override_pager_settings' => 0, 'use_pager' => 1, 'nodes_per_page' => '3', 'pager_id' => '0', 'offset' => '0', 'more_link' => 0, 'feed_icons' => 1, 'panel_args' => 0, 'link_to_view' => 0, 'args' => '', 'url' => '', 'display' => 'page_2', 'override_title' => 0, 'override_title_text' => 'Upcoming Events', ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array(); $pane->extras = array(); $pane->position = 0; $pane->locks = array(); $display->content['new-2'] = $pane; $display->panels['right'][0] = 'new-2'; $display->hide_title = PANELS_TITLE_NONE; $display->title_pane = 'new-2'; $handler->conf['display'] = $display; $page->default_handlers[$handler->name] = $handler; $pages['events'] = $page; return $pages; }