Fix frontpage tab selector

Add panels_ajax_tabs strongarm variable to features to allow
select between upcoming events and activity stream on front page.

Change-Id: Ibd1f70ff9575e6276e91b0d9e6eb02307900e881
This commit is contained in:
Marton Kiss 2014-06-18 11:42:39 +02:00
parent 62d31f5524
commit 2e72fd1489
2 changed files with 17 additions and 0 deletions

View File

@ -17,4 +17,5 @@ features[menu_custom][] = main-menu
features[page_manager_pages][] = groups_home
features[panels_mini][] = recent_activity
features[panels_mini][] = upcoming_events
features[variable][] = panels_ajax_tab
features[variable][] = site_frontpage

View File

@ -10,6 +10,22 @@
function groups_homepage_strongarm() {
$export = array();
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'panels_ajax_tab';
$strongarm->value = array(
'clean_url' => 0,
'clean_url_delim' => '/',
'panes' => array(
'front-events-activity-container' => array(
'upcoming_events' => '',
'recent_activity' => '',
),
),
);
$export['panels_ajax_tab'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;