Commit 2f9b8e79 authored by ccarigna's avatar ccarigna
Browse files

Updated views and context

parent eb61eac5
...@@ -27,23 +27,17 @@ function uw_ct_event_context_default_contexts() { ...@@ -27,23 +27,17 @@ function uw_ct_event_context_default_contexts() {
$context->reactions = array( $context->reactions = array(
'block' => array( 'block' => array(
'blocks' => array( 'blocks' => array(
'views-calendar-block_2' => array( 'uw_ct_event-events_by_date' => array(
'module' => 'views', 'module' => 'uw_ct_event',
'delta' => 'calendar-block_2', 'delta' => 'events_by_date',
'region' => 'sidebar_second', 'region' => 'sidebar_second',
'weight' => '-10', 'weight' => '-23',
), ),
'views-event_category_blocks-block' => array( 'views-event_category_blocks-block' => array(
'module' => 'views', 'module' => 'views',
'delta' => 'event_category_blocks-block', 'delta' => 'event_category_blocks-block',
'region' => 'sidebar_second', 'region' => 'sidebar_second',
'weight' => '-9', 'weight' => '-22',
),
'uw_ct_event-events_by_date' => array(
'module' => 'uw_ct_event',
'delta' => 'events_by_date',
'region' => 'sidebar_second',
'weight' => '-8',
), ),
), ),
), ),
...@@ -57,4 +51,4 @@ function uw_ct_event_context_default_contexts() { ...@@ -57,4 +51,4 @@ function uw_ct_event_context_default_contexts() {
$export['event_categories'] = $context; $export['event_categories'] = $context;
return $export; return $export;
} }
\ No newline at end of file
...@@ -285,6 +285,7 @@ function uw_ct_event_page_build() { ...@@ -285,6 +285,7 @@ function uw_ct_event_page_build() {
} }
break; break;
/*
case 'events': case 'events':
if (isset($path[1])) { if (isset($path[1])) {
$breadcrumb = drupal_get_breadcrumb(); $breadcrumb = drupal_get_breadcrumb();
...@@ -306,6 +307,7 @@ function uw_ct_event_page_build() { ...@@ -306,6 +307,7 @@ function uw_ct_event_page_build() {
drupal_set_breadcrumb($breadcrumb); drupal_set_breadcrumb($breadcrumb);
} }
break; break;
// */
} }
} }
......
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment