Views header above the tabs

dendie - September 23, 2009 - 12:13
Project:Views Display Tabs
Version:6.x-1.0-beta4
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed
Description

Hello,

thanks for the great module!

In my view all displays have a header with some links inside. The header of the first display is shown about the display-tabs. The header of the other displays are never shown.

I my opinion all header must be shown under the tabs.

Is there any solution for this?

Thanks
dendie

#1

dendie - September 23, 2009 - 12:38

Correction:

all header will be shown, it was my fault, that the header of the second tab was not shown. But the issue that the header is shown about the tabs is stil there.

Thanks

#2

dendie - September 23, 2009 - 12:39
Title:Views header about the tabs and not all headers are shown» Views header about the tabs

changing of the issue title

#3

dendie - September 23, 2009 - 12:47
Status:active» needs review

Possible solution:

I'm sorry, that it is not a patch. can't create a patch now. Maybe someone else

<?php
function viewsdisplaytabs_preprocess_views_view(&$vars) { //    Line 64
.
.
.
//after line 94
    // Build header
   
$header = theme('viewsdisplaytabs_tab_groups', $displays, 'viewsdisplaytabs-tab-group');
   
$header .= $vars['header'];
   
   
// Assign header
   
$vars['header'] = $header;
.
.
.
?>

a review would be great.

Thanks

#4

solipsist - September 26, 2009 - 13:28
Category:bug report» feature request
Priority:critical» normal
Status:needs review» postponed

In effect: You'd like a setting to prepend or append the tabs to the view's header. Sure, can be done. I'll add it to the TODO list.

#5

dendie - October 27, 2009 - 13:11
Title:Views header about the tabs» Views header above the tabs
 
 

Drupal is a registered trademark of Dries Buytaert.