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
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 .= '

    ';
    foreach (element_children($element) as $key) {
    if ($element[$key]['#type'] && $element[$key]['#type'] == 'tabpage') {
    $output .= '
  • '. $element[$key]['#title'] .'
  • ';
    }
    }
    $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

Wim Leers - February 2, 2008 - 21:21
Project:Javascript Tools» Views Tabs
Version:5.x-0.8» 5.x-1.x-dev
Component:Tabs» Code

Filed against the wrong module. Moving to Views Tabs.

#2

seanr - November 20, 2008 - 17:14
Category:support request» bug report

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

Digital Deployment - July 28, 2009 - 23:21
Version:5.x-1.x-dev» 6.x-1.x-dev

This is still an issue on 6.x-1.x-dev as well.

#4

hefox - October 1, 2009 - 16:04

http://drupal.org/node/593244#comment-2103880 As stated there, $options['teaser'] doesn't exist, those fixes should fix it.

 
 

Drupal is a registered trademark of Dries Buytaert.