Han anyone successfully used jstools tabs with vote_up_down? I created separate views to display top stories and upcoming stories. The views display fine on their own, but when I try to display the views under tabs, the storylinks, vote_up_down widgets and even the tabs themselves don't display at all (I just get a blank page). Is there a conflict with vote_up_down and tabs that anyone is aware of? Thanks.
Here is my code for displaying the views under tabs:
$form = array();
$view_args = array(0 => 1464);
$form['voteupdown'] = array(
'#type' => 'tabset',
);
$form['voteupdown']['tab1'] = array(
'#type' => 'tabpage',
'#title' => t('Top Stories'),
'#content' => views_build_view('embed', views_get_view('top_stories'), $view_args, true, 10),
);
$form['voteupdown']['tab2'] = array(
'#type' => 'tabpage',
'#title' => t('Upcoming Stories'),
'#content' => views_build_view('embed', views_get_view('upcoming_stories'), $view_args, true, 10),
);
print tabs_render($form);
Comments
Comment #1
marvil07 commentedPlease take a look to the update on the project page, now
5.xis not-really-maintained.If you think your question is still applicably to the last recommended version(
6.x-2.x) please move the version accordingly and reopen it.