$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_area', ), 'parent' => 'main', ), 'center' => array( 'type' => 'region', 'title' => 'Center', 'width' => 50, 'width_type' => '%', 'parent' => 'main-row', ), 'right_area' => array( 'type' => 'region', 'title' => 'Right area', 'width' => 50, 'width_type' => '%', 'parent' => 'main-row', ), ), ); $display->panel_settings = array(); $display->cache = array(); $display->title = ''; $display->hide_title = FALSE; $display->title_pane = 0; $display->content = array(); $display->panels = array(); $pane = new stdClass; $pane->pid = 'new-1'; $pane->panel = 'center'; $pane->type = 'og_description'; $pane->subtype = 'og_description'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'context' => 'relationship_og_1', 'override_title' => 0, 'override_title_text' => '', ); $pane->cache = array(); $pane->style = array(); $pane->css = array(); $pane->extras = array(); $pane->position = 0; $display->content['new-1'] = $pane; $display->panels['center'][0] = 'new-1'; $pane = new stdClass; $pane->pid = 'new-2'; $pane->panel = 'right_area'; $pane->type = 'block'; $pane->subtype = 'system-0'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'override_title' => 0, 'override_title_text' => '', ); $pane->cache = array(); $pane->style = array(); $pane->css = array(); $pane->extras = array(); $pane->position = 0; $display->content['new-2'] = $pane; $display->panels['right_area'][0] = 'new-2';