Gmap breaks when placed in a CCK Fieldgroup Tab

TheAlienShore - May 5, 2009 - 23:25
Project:CCK Fieldgroup Tabs
Version:6.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

When I place a Gmap inside a CCK Fieldgroup Tab the map only partially displays and the rest is grey. See attached screenshot. When the Gmap is on it's own it displays fine. Anyone have any ideas? Thanks!

AttachmentSize
gmap_cck_tab.png105.27 KB

#1

TheAlienShore - May 6, 2009 - 05:23

Interestingly, when I enable Firebug, the rest of the map appears and it looks as it should. There must be some kind of conflict somewhere. I can't figure this one out.

#2

chip1982 - June 9, 2009 - 08:36

Same problem here!

After resizing the window viewing the tab / map also results in a correct display of the map... Seems that the map in the tabs won't draw correctly at first...

Still no (ideas for) solutions??

#3

thekayra - August 12, 2009 - 02:23

Might be little late but here is the solution I found/followed.

In this thread Simon Maddes suggested the following solution that worked for me.

Ι have solved the problem by changing in drupal-tabs.css or an equivalent css files

.ui-tabs-hide { display: none; }

to
.ui-tabs-hide {
  visibility:hidden;
  position:absolute
}

I preferred to override the css in the theme. This is how for newbies like me who doesn't know too much about theming and its best practices.

Any comments would be more than welcome.

Kayra.

#4

chip1982 - August 12, 2009 - 13:16

@ Kayra Great! Tnx 4 the tip! It works for me. I preffered to override the theme also.

#5

thekayra - August 13, 2009 - 08:09

Unfortunately, I just realized that the CSS method breaks the tree widget menu that I use in another tab. Started to look for a new solution.

#6

thekayra - August 18, 2009 - 15:35

Can't seem to find a new solution at the moment. anybody has any suggestions?

#7

nedjo - August 19, 2009 - 06:05

I tested with gmapfield placed on a hidden tab and it worked fine. Possibly this was fixed by a recent change to tabs module?

#8

thekayra - August 19, 2009 - 07:41

Unfortunately the problem persists for me. I am using:

CCK Fieldgroup Tabs 6.x-1.x-dev
Tabs 6.x-1.0

Had some problem installing the new dev version of the tabs. the tabs were not visible at all in FF 3.0.

which versions are you using, nedjo?

#9

thekayra - August 20, 2009 - 19:34

Worked fine with the following.

CCK Fieldgroup Tabs 6.x-1.0
Tabs 6.x-1.1

#10

nedjo - September 26, 2009 - 17:53
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.