Closed (fixed)
Project:
Rubik
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Dec 2011 at 18:56 UTC
Updated:
2 Sep 2013 at 21:21 UTC
Jump to comment: Most recent file
The best example is workbench -- The primary workbench page doesn't display any tabs because there is no "default" selected tab, so there's no current item to be displayed as block.
I'm not sure if it's valid to not have any default secondary tab -- i.e. is the bug in workbench? But there's a number of modules that have this issue so it might be worth fixing in Rubik. Not sure what the best way to implement such a fix would be.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 1389660-rubik-secondary-tab-fix-2.patch | 548 bytes | acbramley |
| #6 | 1389660-rubik-secondary-tab-fix-2.patch | 546 bytes | acbramley |
| #3 | 1389660-rubik-secondary-tab-fix.patch | 293 bytes | acbramley |
| #1 | secondary-tabs.png | 11.03 KB | fearlsgroove |
| #1 | seven-secondary-tabs.png | 16.13 KB | fearlsgroove |
Comments
Comment #1
fearlsgroove commentedA few quick screenshots demonstrating the issue

Comment #2
acbramley commented+1 getting this exact issue too using Rubik 7.x-4.0-beta8 and Workbench 7.x-1.1+9-dev
Comment #3
acbramley commentedThis 1 line patch fixes this issue
Comment #4
acbramley commentedHmmm, needs some work as when on a secondary page that's not the first child you see both secondary links
Comment #5
acbramley commentedComment #6
acbramley commentedThis adds a small (sort of hacky) bit a jquery that will display the first secondary tab as a block if there's no active one
Comment #7
acbramley commentedWoops, this one is working
Comment #8
codi commentedTested the patch in #7 against 7.x-4.x-dev and it works for me. Tested it with workbench as well as a couple other modules that provide secondary tasks.
Comment #9
pvhee commentedCan confirm #7 is working perfectly.
Comment #10
haydeniv commentedCommitted: d0ca028
Thanks!
Comment #11
acbramley commentedWoo thanks a lot! Good to have things finally moving along :)