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.
Hi, I have
Drupal 7.19
QuickTabs 7.x-3.4
CTools 7.x-1.2
(developing in Chrome. Server Apache: 2.3, PHP 5.4.3)
and currently a bunch of other modules (DisplaySuite/Views/etc)
The default is to have these two configurable tabs in edit mode, so I configured them and they work well. But I want a 3rd.
So when I click Add Tab - it thinks about it for a minute - saying "Please wait", then doesn't seem to add any more, sadly. I've tried this in A Zen subtheme, and the CorporateClean theme also - same result.
Any ideas? Has anyone else seen this? This node is a different problem I think
many thanks
Comment | File | Size | Author |
---|---|---|---|
#22 | 1940170-2.x.patch | 465 bytes | ultimateboy |
#11 | missing-ampersand-for-tab-creation.patch | 429 bytes | busla |
Comments
Comment #0.0
Hzle CreditAttribution: Hzle commentedadded info on themes used
Comment #1
dorkau CreditAttribution: dorkau commentedI have the same problem. Tried to change jQuery version but seems that it doesnot help.
@ Hzle - Did you find out the solution for this issue?
Comment #2
dorkau CreditAttribution: dorkau commentedHi,
As a workaround I have added 3 more position to the default table with tabs in : quicktabs.admin.inc:
line 77:
// If creating a new Quicktabs instance, start off with 5 empty tabs.
if (empty($qt->tabs)) {
$qt->tabs = array(
0 => array(),
1 => array(),
2 => array(),
3 => array(),
4 => array(),
);
Comment #3
hunchang CreditAttribution: hunchang commentedI'm having the same problem as well, however the above mentioned temporary solve the issue
Comment #4
ivalls CreditAttribution: ivalls commentedI have this problem, but mine seem to work after 4th or 5th attempt. It is pretty random, sometimes seems to work better it you hold the button down, or just get a lucky click! very odd.
Comment #5
fransoa CreditAttribution: fransoa commentedI have the same problem. I've tried #2 but when I run update .php it ends with a blank screen.
Then reload with a lot of errors. I had to restore a backup of my db to get access to drupal again.
Could you explain how you did it ??
Comment #6
adraskoy CreditAttribution: adraskoy commentedSame problem, latest versions of drupal and modules as of a week ago. Additionally, nothing appears in the "Tab Content" column. Can work around this by using firebug to turn on the appropriate display manually and by using #2 above, but obviously this is not ideal :-)
Comment #7
kwfinken CreditAttribution: kwfinken commentedWithout a fix, this renders the module unusable. I cannot use the workaround above for various reasons (direct access to server files is not available). Even if I could use the workaround, it is not practical for our environment because we don't know in advance how many tabs are needed. Some tab groups need 3, others need 25!
Comment #8
Jeff Veit CreditAttribution: Jeff Veit commentedThe problem is line 71 of quicktabs.admin.inc....
should be
The difference being the & on $form_state.
Not fully tested, but it works for me so far.
Comment #9
tobik999 CreditAttribution: tobik999 commented#8 solved it also for me, many thanks
Comment #10
busla CreditAttribution: busla commentedBeautiful, thanks!
Comment #11
busla CreditAttribution: busla commentedhere is the patch
Comment #12
busla CreditAttribution: busla commentedchanging to dev since I had the same problem there aswell
Comment #13
Bernsch CreditAttribution: Bernsch commentedComment #14
smallcoder CreditAttribution: smallcoder commentedCheers mate - I thought I was going crazy and this tiny ampersand solved it. All good so far - nice one !
Comment #15
purabdk CreditAttribution: purabdk commentedThis helps me..Thanks
Comment #16
BOGUƎ CreditAttribution: BOGUƎ commentedOh yeah -- drove me nuts here too, good catch!
Comment #17
Bernsch CreditAttribution: Bernsch commentedComment #18
mdecooman CreditAttribution: mdecooman commented+1 working with the fix in #8
Comment #19
GreenChristian CreditAttribution: GreenChristian commentedThe fix in #8 is working fine for me as well.
Comment #20
kingfisher64 CreditAttribution: kingfisher64 commentedSuper #8 works fine.
Can we please commit this as it's a bit of a biggie in terms of functionality for it not to work.
Comment #21
ultimateboy CreditAttribution: ultimateboy commentedThanks all. Committed to 7.x-3.x
http://drupalcode.org/project/quicktabs.git/commit/refs/heads/7.x-3.x
Comment #22
ultimateboy CreditAttribution: ultimateboy commentedBTW, I also updated 7.x-2.x with a similar fix. Patch attached.
Comment #23.0
(not verified) CreditAttribution: commentedMore info on my software versions
Comment #24
drupal Don CreditAttribution: drupal Don commentedyes i have a same problem in my website
is there any idea to solve this problem
Comment #25
fnikola CreditAttribution: fnikola commentedthanks @busla - the patch listed in #11 resolves the problem on quicktabs 7.x-3.4
Comment #26
Bhargavparex CreditAttribution: Bhargavparex commentedsame issue with my project
in my project add tab button not working when edit the quicktab
and also remove button not working when remove image from edit node or content
drupal version 7