I have tabs set up, and as a view, I have selected Tabs - Teaser List.
However the content doesn't tease. The full node content is displayed. The regular teaser view teases correctly, and so I am uncertain what the issue is. I have made a few minor edits to tabs.module:
function theme_tabset($element) {
$output .= '
$output .= $element['#children'];
$output .= '
- ';
- '. $element[$key]['#title'] .'
foreach (element_children($element) as $key) {
if ($element[$key]['#type'] && $element[$key]['#type'] == 'tabpage') {
$output .= '
';
}
}
$output .= '
';
$output .= '
';
return $output;
}
The ul class is changed and children is moved in front of the ul.
I have also made a couple of css changes, but I don't think those should affect the teasing. I have also tried to manually break the node, but still no teaser is displayed.
Please help.
Comments
Comment #1
Wim LeersFiled against the wrong module. Moving to Views Tabs.
Comment #2
seanrtheme_views_tabs_display does not appear to be getting passed the $teasers parameter correctly and it defaults to false. I duplicated it as phptemplate_views_tabs_display and manually set it to true in the node_view call and I now get teasers instead of full nodes.
Comment #3
Mac Clemmens CreditAttribution: Mac Clemmens commentedThis is still an issue on 6.x-1.x-dev as well.
Comment #4
hefox CreditAttribution: hefox commentedhttp://drupal.org/node/593244#comment-2103880 As stated there, $options['teaser'] doesn't exist, those fixes should fix it.
Comment #5
jdwfly CreditAttribution: jdwfly commentedShould be fixed with changes to latest dev. See...
#626170: Not working with Views 6.2.7?
and
#593244: does not pass view to node