From 833b7cec96e7de84eb69f62df0724265e477dfce Mon Sep 17 00:00:00 2001 From: Mikkel Hoegh Date: Tue, 16 Apr 2013 09:48:56 +0000 Subject: [PATCH] Send content node along to tema header. This enables the tema header panels plugin to not display if there's also a library reference, so we don't get headers for both. This also requires changes to the tema site module. --- ding_content/ding_content.pages_default.inc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ding_content/ding_content.pages_default.inc b/ding_content/ding_content.pages_default.inc index 21c922770..a947c739a 100644 --- a/ding_content/ding_content.pages_default.inc +++ b/ding_content/ding_content.pages_default.inc @@ -308,7 +308,10 @@ function ding_content_default_page_manager_handlers() { $pane->access = array(); $pane->configuration = array( 'display_header_image' => FALSE, - 'context' => 'relationship_node_from_noderef_1', + 'context' => array( + 0 => 'relationship_node_from_noderef_1', + 1 => 'argument_nid_1', + ), 'override_title' => 0, 'override_title_text' => '', ); @@ -547,7 +550,10 @@ function ding_content_default_page_manager_handlers() { $pane->access = array(); $pane->configuration = array( 'display_header_image' => FALSE, - 'context' => 'relationship_node_from_noderef_1', + 'context' => array( + 0 => 'relationship_node_from_noderef_1', + 1 => 'argument_nid_1', + ), 'override_title' => 0, 'override_title_text' => '', );