Download & Extend

Don't show tab if there is only one pane

Project:Panels Tabs
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed

Issue Summary

Hi,

as mentioned in #208832: Tabs appear even if they've no content I think the tab should be hidden, if there is only one pane shown in the panel, e.g. if all the other panes are empty.

Thank you and regards,

Ben

Comments

#1

Status:active» needs review

Here is a fast patch, i don't have time to test it today

AttachmentSize
panels_tabs-482372.patch 714 bytes

#2

Status:needs review» needs work

Hi dereine,

thank you for the patch. Unfortunately it doesn't work for me... It stills hows the tab...

Regards,

Ben

#3

I'd really like to use this feature.

#4

If there is still a need for this, I will look at adding something that can be activated via a setting on the pane.

#5

If this it is added please make it a setting. On my current project, I need tabs to even when there is only one.

#6

Status:needs work» postponed

#7

I'm finding that I very much need this functionality from panels_tabs, yet can't patch the module using the above .patch - Looks like there has been some movement on panels_tabs since that render the above .patch irrelevant.

Any advice on how to achieve this now? I need tabs to disappear when they have no content; their content is derived from Views and CCK, and the relevant data is not always present.

nobody click here