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.
If you are using the zen theme then zen quicktabs wont work.
In order to get them working you need to rename the zen.css to something else because there is already a zen.css with the zen theme.
I renamed all occurrences of "zen" to "zenqt" in file and folder names as well as in the styles themselves.
Comments
Comment #1
katbailey CreditAttribution: katbailey commentedComment #2
stuen93 CreditAttribution: stuen93 commentedsubscribing
Comment #3
ncameron CreditAttribution: ncameron commentedchanging all instances of zen to zenqt worked for me. Patch attached
Comment #4
Pasquallethis is wrong:
and also need an update hook to change the style for existing quicktabs.
Comment #5
ncameron CreditAttribution: ncameron commentedupdated patch attached. But I'm not sure how to do the update hook. Any pointers?
Thanks,
Neil
Comment #6
jrabeemer CreditAttribution: jrabeemer commentedWow, this is a big oversight. Get this patch into dev ASAP. Update hook can wait.
Comment #7
egghunter CreditAttribution: egghunter commentedHas this been applied yet?
Comment #8
chellman CreditAttribution: chellman commentedHere's a patch for the hook_update_N piece. It updates the default quicktabs value if it's set to Zen, and changes the style for any existing tabs.
I'm not sure about using Zenqt instead of something more explicit like zen-quicktabs, but that's a minor quibble.
Comment #9
dafederWell, these patches are kind of a mess, and the update didn't seem to take. But, making those changes to the css files did get the zen style working at least (not zen-rtl, for me).
Would be great if this could be fixed in the release.
Comment #10
dafeder(I should add, i had to change the variable manually).
Comment #11
BigMike CreditAttribution: BigMike commentedHey guys,
I just installed Quicktabs onto my D6.22 for the first time last week and struggled with the Zen style all weekend long. I finally decided to search online and found this thread. Thanks for the help!
I installed the most current recommended release, 6.x-2.0-rc5, and this issue still exists. However, I am still using Zen version 6.x-1.1, which is out dated, so it's likely the culprit (Drupal reports nearly 14,000 users still using v1.1, currently the most commonly used Zen theme version).
Thanks again for the patches. I don't use patches but was able to figure out the changed by reading the files. For other patch-haters like myself, simply rename the zen folder to zenqt, the .css files themselves to zenqt.css and zenqt-rtl.css, and all "-zen" occurrences in both .css files to "-zenqt". Then, even after clearing all your cache, you'll notice the Zen theme still not working. This is because you'll need to return to your Quicktab edit page, /admin/build/quicktabs/###/edit, and you'll have to reselect the Zen style, now called "Zenqt" (the quicktab styles are auto detected). Save your Quicktab & you should be golden.
Cheers,
BigMike
Comment #12
stuen93 CreditAttribution: stuen93 commentedAre there any plans to update this in the code? It's not a huge change and it would certainly make updating the quick tabs module a lot easier. Right now I'd have to update the module and then go make all the appropriate changes to make it work with a zen based theme.
Comment #13
apadernoI am closing this issue, since it's for a Drupal version no longer supported.
Comment #14
apaderno