Tabs Teaser view is not teasing
Flying Drupalist - January 31, 2008 - 04:03
| Project: | Views Tabs |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
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.

#1
Filed against the wrong module. Moving to Views Tabs.
#2
theme_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.
#3
This is still an issue on 6.x-1.x-dev as well.
#4
http://drupal.org/node/593244#comment-2103880 As stated there, $options['teaser'] doesn't exist, those fixes should fix it.