Permalink
Browse files

Added FAQ to the front page.

  • Loading branch information...
1 parent e00a7bf commit 8a153d9de9314768e09284f42512351035c2e974 @mikl mikl committed Mar 7, 2012
Showing with 26 additions and 9 deletions.
  1. +3 −3 kdb_panels/kdb_panels.info
  2. +23 −6 kdb_panels/kdb_panels.pages_default.inc
@@ -1,8 +1,8 @@
+name = "KDB Panels"
+description = "Customizations of panels for Copenhagen libraries"
core = "6.x"
+package = "Copenhagen"
dependencies[] = "page_manager"
dependencies[] = "panels"
-description = "Customizations of panels for Copenhagen libraries"
features[ctools][] = "page_manager:pages_default:1"
features[page_manager_handlers][] = "kdb_front_panel_panel_page"
-name = "KDB Event"
-package = "Copenhagen"
@@ -79,6 +79,23 @@ function kdb_panels_default_page_manager_handlers() {
$pane = new stdClass;
$pane->pid = 'new-3';
$pane->panel = 'right';
+ $pane->type = 'views_panes';
+ $pane->subtype = 'faq_question_list-panel_pane_2';
+ $pane->shown = TRUE;
+ $pane->access = array();
+ $pane->configuration = array();
+ $pane->cache = array();
+ $pane->style = array(
+ 'settings' => NULL,
+ );
+ $pane->css = array();
+ $pane->extras = array();
+ $pane->position = 0;
+ $display->content['new-3'] = $pane;
+ $display->panels['right'][0] = 'new-3';
+ $pane = new stdClass;
+ $pane->pid = 'new-4';
+ $pane->panel = 'right';
$pane->type = 'relevant';
$pane->subtype = 'relevant_campaigns';
$pane->shown = TRUE;
@@ -102,11 +119,11 @@ function kdb_panels_default_page_manager_handlers() {
);
$pane->css = array();
$pane->extras = array();
- $pane->position = 0;
- $display->content['new-3'] = $pane;
- $display->panels['right'][0] = 'new-3';
+ $pane->position = 1;
+ $display->content['new-4'] = $pane;
+ $display->panels['right'][1] = 'new-4';
$pane = new stdClass;
- $pane->pid = 'new-4';
+ $pane->pid = 'new-5';
$pane->panel = 'top';
$pane->type = 'views_panes';
$pane->subtype = 'tabroll-panel_pane_1';
@@ -120,8 +137,8 @@ function kdb_panels_default_page_manager_handlers() {
$pane->css = array();
$pane->extras = array();
$pane->position = 0;
- $display->content['new-4'] = $pane;
- $display->panels['top'][0] = 'new-4';
+ $display->content['new-5'] = $pane;
+ $display->panels['top'][0] = 'new-5';
$display->hide_title = PANELS_TITLE_NONE;
$display->title_pane = '0';
$handler->conf['display'] = $display;

0 comments on commit 8a153d9

Please sign in to comment.