thebrain_dummy

Homepage – Crucible Institute

[view:front_slides]

execute_display(‘default’, $args);

$view2 = views_get_view(‘id_4pts_tab_2’);
$id_tab_2 = $view2->execute_display(‘default’, $args);

$view3 = views_get_view(‘id_4pts_tab_3’);
$id_tab_3 = $view3->execute_display(‘default’, $args);

$view4 = views_get_view(‘id_4pts_tab_4’);
$id_tab_4 = $view4->execute_display(‘default’, $args);

$form = array();

$form[‘example1’] = array(
‘#type’ => ‘tabset’,
);
$form[‘example1’][‘tab1’] = array(
‘#type’ => ‘tabpage’,
‘#title’ => t(‘Welcome’),
‘#content’ => ($id_tab_1),
);
$form[‘example1’][‘tab2’] = array(
‘#type’ => ‘tabpage’,
‘#title’ => t(‘Resources’),
‘#content’ => ($id_tab_2),
);
$form[‘example1’][‘tab3’] = array(
‘#type’ => ‘tabpage’,
‘#title’ => t(‘Fresh Ideas’),
‘#content’ => ($id_tab_3),
);
$form[‘example1’][‘tab4’] = array(
‘#type’ => ‘tabpage’,
‘#title’ => t(‘Community’),
‘#content’ => ($id_tab_4),
);

return tabs_render($form);
?>

[view:front_slides]

execute_display(‘default’, $args);

$view2 = views_get_view(‘id_4pts_tab_2’);
$id_tab_2 = $view2->execute_display(‘default’, $args);

$view3 = views_get_view(‘id_4pts_tab_3’);
$id_tab_3 = $view3->execute_display(‘default’, $args);

$view4 = views_get_view(‘id_4pts_tab_4’);
$id_tab_4 = $view4->execute_display(‘default’, $args);

$form = array();

$form[‘example1’] = array(
‘#type’ => ‘tabset’,
);
$form[‘example1’][‘tab1’] = array(
‘#type’ => ‘tabpage’,
‘#title’ => t(‘Welcome’),
‘#content’ => ($id_tab_1),
);
$form[‘example1’][‘tab2’] = array(
‘#type’ => ‘tabpage’,
‘#title’ => t(‘Resources’),
‘#content’ => ($id_tab_2),
);
$form[‘example1’][‘tab3’] = array(
‘#type’ => ‘tabpage’,
‘#title’ => t(‘Fresh Ideas’),
‘#content’ => ($id_tab_3),
);
$form[‘example1’][‘tab4’] = array(
‘#type’ => ‘tabpage’,
‘#title’ => t(‘Community’),
‘#content’ => ($id_tab_4),
);

return tabs_render($form);
?>

Scroll to Top