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 |
Jump to:
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
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
changing of the issue title
#3
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
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