Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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?
Comment | File | Size | Author |
---|---|---|---|
#7 | panels_tabs-208832.patch | 1.41 KB | dawehner |
Comments
Comment #1
Wim LeersIt'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.
Comment #2
Wim LeersComment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
MGParisi CreditAttribution: MGParisi commentedI 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!
Comment #5
Remon CreditAttribution: Remon commentedsubscribe
Comment #6
Wim LeersWon't be implemented for the 5.x version.
Comment #7
dawehnerhere is a patch,
i had no time to test it, but this patch is quite trivial
Comment #8
bensemmel CreditAttribution: bensemmel commentedHi,
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
Comment #9
dawehneri would like to have a oppinion of Wim Leers but the patch shouldn't be to hard
thx for testing the patch
Comment #10
Wim LeersWhat 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 :)
Comment #11
MGParisi CreditAttribution: MGParisi commentedI 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?
Comment #12
dawehneri commited both versions
As far as i understand jquery tabs was before quicktabs