I've created a panel with mini-panels inside. Each minipanels contents several tabbed views. The problem is that the tab for the view appears although it has no content in it. The same problem with the mini-panel. The tab appears althogh no content is listed in that particular mini-panel. How can I change this behaviour?

CommentFileSizeAuthor
#7 panels_tabs-208832.patch1.41 KBdawehner
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Wim Leers’s picture

Component: Code » Miscellaneous
Priority: Normal » Minor
Status: Active » Postponed (maintainer needs more info)

It's not fair to blame Tabs panel style for that. No other style provides the feature you're describing. You should enter a "empty text message" for your View, to make sure there's always some content.

Wim Leers’s picture

Assigned: Unassigned » Wim Leers
Status: Postponed (maintainer needs more info) » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

MGParisi’s picture

Category: support » feature
Status: Closed (fixed) » Active

I was going to post this as a feature request and then I saw this. Instead of opening another ticket I figure I would change the status of this one. I hope this is not a problem:(

I think it would be a great option! I am well aware of tabs systems out their and I think yours is the best due to its stability. I would like to see that If you add a view and the count is 0, and the admin tab option says cont display, it would be nice if you didn't display them!

Remon’s picture

subscribe

Wim Leers’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev
Assigned: Wim Leers » Unassigned

Won't be implemented for the 5.x version.

dawehner’s picture

FileSize
1.41 KB

here is a patch,

i had no time to test it, but this patch is quite trivial

bensemmel’s picture

Hi,

this patch is working fine for me.

Is it possible to implement a check, that if there is only one pane left, this pane is shown without the tab, as in this case the tab isn't necessary any more.

Thank you and regards,

Ben

dawehner’s picture

i would like to have a oppinion of Wim Leers but the patch shouldn't be to hard

thx for testing the patch

Wim Leers’s picture

What bensemmel suggests makes sense, so that's fine by me. However, you're to become the owner of this module dereine, so feel free to make these calls yourself :)

MGParisi’s picture

I love this module (but I will not use it in the future). The problem is that each tab requires a Queue, and often times many images.

The solutions to this module are Quick Tabs (which are not available to 6.x users). There is also another tabs application to quicktabs that works for D5. It states it uses AJAX loads, however I have not verified this behavior. Do we want another Tabs application, or should we work on other solutions? How can we reduce such duplication?

dawehner’s picture

Status: Active » Fixed

i commited both versions

As far as i understand jquery tabs was before quicktabs

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.