I am trying to set up a view with views_tabs. I installed everything and created a view, but I'm seeing no tabs (nor tabs' content). Firebug reveals that the view is being loaded, and put in tabs, but on line 1 of drupal-tabs.css (part of jstools' tabs, which is why I'm posting here), it says:
html.js div.drupal-tabs { display: none; }
(and since everything is inside div.drupal-tabs, nothing is shown, I guess ...).
Any suggestions on how to get the views tabs to show up? I suppose using
html.js div.drupal-tabs { display: block; }
is a bit too obvious?
I have jQuery update installed, but disabling that didn't help.
Comments
Comment #1
brunodboComment #2
AlenaSystems commentedI have the same problem. I am using Tabs with 'CCK Fieldgroup Tabs' and no Tab shows up unless I remove or change the line in drupal-tabs.css
Obviously the issue is elsewhere since removing this line results in losing most formatting and effects on the tabs.
I have Drupal 5.10 and all modules updated.
Comment #3
nedjoAre you getting any Javascript errors?
Comment #4
AlenaSystems commentedI did not notice any Javascript error.
I just disabled Jquery update module and went back to the original .js scripts from the Drupal 5.10 distro, and tabs are back. So there is definitely a compatibility issue with Jquery update.
Comment #5
brunodboNot getting any Javascript errors either. And indeed, when I disable Javascript update (5.x-2.0 in my case) *and* put back the stock Drupal .js files (forgot to do this above), tabs are back.
Comment #6
brunodboUpdating title.
Comment #7
AlenaSystems commentedOne of the modules we use requires Jquery update module. As a result, we can't use the Tabs component of Javascript Tools due to this compatibility issue for now. We did not find any way to get both modules run together. Is there any patch out there we can apply to the Tabs component?
Comment #8
foxtrotcharlie commentedI ran into the same issue when using panels tabs - the css was displaying:
html.js div.drupal-tabs { display: none; }and therefore none of the secondary tabs were displaying.
In this case, I fixed it by installing the dev version of jstools (jstools-5.x-1.x-dev), and it appeared that the only problem with the stable version of jstools for the tabs was this bit of code at the end of jstools.js:
Needs to be replaced with:
www.parkroad.co.za
Comment #9
nedjo@foxtrotcharlie: Thanks for the note! I'd forgotten that this fix hasn't hit stable. I'll post a new stable release.
Comment #10
foxtrotcharlie commentedCool - thanks for your work and the cool module :-)
Comment #11
petey318 commentedI'm seeing similar issues with collapsiblock in D5. I had to go to Jquery_update 2.0 for another reason, and now it looks like this has caused some problems for collapsiblock, because the blocks aren't collapsing any more...
EDIT: I see that there are already some threads open on this issue, so I am sorry if this is a duplicate.
Is there a way to patch collapsiblock to make it work with jquery_update 2.0?
Any guidelines here would be hugely appreciated! (Collapsiblock is a great module, btw!)
Comment #12
moshe weitzman commentedFYI, I used the fix in #8 and it seems to be working fine.
Comment #13
petey318 commentedI just tested the 5.x dev snapshot, and that seems to work fine too (I only tested collapsiblock).
Comment #14
petey318 commentedI believe you could mark this off as "fixed" now, because nedjo has released a new stable version 5.x-1.2 which seems to work just fine.
Comment #15
nedjo