Posted by webnation on September 19, 2009 at 10:44am
Jump to:
| Project: | CCK Fieldgroup Tabs |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Hi,
I can't get 'full html' tab content (a table) to display in ie7. It will display the table on the first tab but there is just a blank space where it should display on any other tab even though I've selected 'full html' as the input format.
The content displays on all tabs (still on ie7) if I select 'filtered html' but obviously the table is stripped out.
All tabs display perfectly using 'full html' or any input format in Firefox, Chrome and even ie8.
Any thoughts? This is a great module and just what I was looking for but this ie7 thing is driving me crazy.
Thanks
Comments
#1
I am having the same issue on a site I am developing. But on another site I am working on with the same version of modules and drupal it works fine in ie7....
#2
Ok so I am not sure if this will work for you but it just worked for me twice.
I went in to each of the fields in the tabs that were using FULL HTML and I changed it to filtered HTML, then saved it.
Then I went into it changed it to FULL HTML again and it works in IE7 now. Same steps worked for ones that were PHP input.
Hoping it doesnt randomly break again.
Good luck.
#3
Ok it does not work again and I did not edit the node. So I am guessing this problem is somewhat random bug in the module.
#4
Maybe related to caching?
Do you have caching enabled? If you disable it, does the page work?
#5
Rather than starting a new issue this seems to be the closest to an issue I am experiencing with this module, although not related to input format. I've tried both the stable release and dev with the same results.
I experience the following in IE7 not firefox (haven't tried others yet.)
I have a rather large form with lots of date fields within one tab enabled fieldgroup. The date fields are non-existent most of the time. As I select different tabs and return to the dates tab with the dates I might get them to display inconsistently, maybe one in 10 times. I can get some fields to display once I advance using the tab key. (i.e.Using the tab key to advance to the first date field makes them all appear.)
Another tabbed fieldgroup has user reference fields in it using the Multiselect Module. This provides graphic widgets to move selected usernames betwen two list boxes. The selection graphics appear occasionally.
I am also using a dev version of CCK which has multigroup fields in another tabbed fieldgroup, which sometimes do not appear, although more often than the dates.
Some other tabbed fieldgroups display other types of fields (using the Money module which provides an entry for an amount and currency, the box aroudn the field area disappears in the fieldgroup until an amount is entered.
I experience the same issues with or without cache enabled. The behaviors don't exist with the module disabled.
Oh btw my theme is Zen based using the standard IE CSS
#6
If you like I can provide access to development sites with the module enabled and disabled, if you would like to see things firsthand. If so contact me via my contact form.
Thanks
#7
I have this issue too. I'm changing this to bug report. Sorry if that's not right.
Caching is disabled.
It seems quite random what displays and doesn't. Clicking between tabs sometimes makes things re-appear or disappear again.
Also, using the IE developer toolbar, adding a property such as position:relative or a z-index to one of the divs contained within a tab (even if it's a property which the div already has) will make it reappear.
I have three floated divs and one clearing div contained within each of my tabs.
#8
Editing my original post
I've done some messing around with my html. Here's what I've found:
- seems like a haslayout problem. problem happens with elements that have width, float ie elements that have layout.
- adding position: relative to all the divs within my tabs reverses the problem: all content displays on all tabs except the first. But clicking back to the first brings back the first tab content correctly.
- on all tabs whose contents have position:relative (or layout generally I suspect), content only appears once you mouse off the tab title
- can't get tables to display at all, no matter how much messing around with layout I do
#9
This is driving me mad. How has everyone else done with this problem? Have you found a workaround? This is a great module, and there aren't any others that accomplish something similar, I hope a solution comes up.
#10
I'm not sure if this helps, but this isn't really an issue specific to this module. I'm not using the 'CCK Fieldgroup Tabs' module, but I am using panels with "Tabs panel style" (http://drupal.org/project/panels_tabs), which is dependent on the Tabs helper module (http://drupal.org/project/tabs), which is the same helper module required by the module that this thread is about. So it should probably be moved somehow to an issue with the "Tabs" module and not the "CCK Fieldgroup Tabs" module. I've got the same issue that comment 8 is talking about, where the first tab's content doesn't show up in IE7 until after I've clicked off the tab and back on again, and tables didn't show up either. The content is there in the source code but doesn't show up. The problem with the first tab contents not showing up has got something to do with position:relative in a nesting container. If I remove that position:relative declaration, it works, but I need to absolutely position items on this tab.
Tables didn't show up for me at first, which is why I'm pretty sure this isn't module-specific. However, I managed to fix that by turning on the 'fade' effect in the tabs module (admin/settings/tabs). This made the tables show up. But I know for certain that position:relative is what's making the first tab's content not show up in IE7.
I know that this doesn't really fix anything, but maybe will help you look in the right direction. If I do figure out a work-around for the IE7 issues I'll post it back here.
#11
Thanks jwgreen.
I've posted an issue in the tabs module issue queue.
On another issue posted (http://drupal.org/node/641610), someone mentioned a workaround for the tables problem. Give the table visibility: visible. Works for me.
#12
Seems to work for me too! Thank {insert deity of choice here}!
#13
@freatida,
You saved my evening today....your workaround works for me, too (visibility:visible;)
Many thanks!!