I despise reporting anything about IE. Still, I find this to be hard to ignore. I made an new CCK content-type and added the Date widget to it. When I test out the form in Firefox every thing looks, works fine.

I switch to IE (6 or 7) and the Date field is MIA. ? I'm using Drupal 6.2 and Date 6.x-2.0-beta3. And yes javascript is enabled.

Thanks for ideas.

Comments

gdd’s picture

Version: 6.x-2.0-beta3 » 6.x-2.x-dev

I got this to reproduce once (for me it was gone in Firefox as well as IE), but I deleted and remade the field and everything was fine, and everything has been fine since. I saw the "Date:" label, but not the field. Pushing this forward to -dev since it seems to still be an issue.

karens’s picture

I can think of no possible reason for this. There is nothing that different about Date fields than other CCK fields that it wouldn't show up. Some things that would help debug this are an export of a field that behaved this way so I can see exactly how it was set up. Any other info about this would help -- what value did you try to insert into the date when it disappeared, etc etc.

There is nothing more fun than fixing problems that seem to appear and disappear by themselves :(

karens’s picture

Or are you saying you didn't insert any value because you never got a chance? Were these new nodes or were you editing existing nodes?

gdd’s picture

The way it worked for me was I took the unmodified Story content type and added a date field to it with js popup. Everything else default. I then went to Create Content -> Story. The label "Date:" was there, but the field did not appear. This was on IE6 and Firefox OSX. So then I deleted the field and recreated it ... and it showed up. As it continued to in 2-3 variations.

So... I don't know. The only thing I could think of was that there was some weird css class conflict that made the field disappear or something? I should have looked at the output when it happened and I forgot. I will if it reappears.

karens’s picture

I think I know what this is -- there was a recent change to comply with a feature request to float the dates next to each other so they would take up less room and to fix some problems in FF3 where all the parts show up on separate lines. I suspect that now in some browsers in some situations the dates are now floating right out of sight.

I need to play around with the code to see if I can keep that from happening.

goose2000’s picture

Sorry, I'll try explain the scene a little more. I was set out to create a minimal 'Event' content type. It was a fresh content type with a title and body. I would then install the Date CCK module and add that. Goal was to make a simple list of upcoming events.

So yes, new nodes being created - node/add.

I had no problems, all of this a first time install. I first used the popup calendar option. Checked in Firefox, nice looks worked good. I know that IE from experience, often does not treat these popup calendars the same. So I was curious to see how it would work there. And it didn't work very good as stated, the Date field did not display at all on the form screen in IE 6 or 7. So I tried without the popup calendar option, no difference. Now I was a bit perplexed.

'Disappear' would be a sort of misnomer here. As this assumes a 'thing' did appear at one time. In IE they just don't show, and I believe KarenS is probably on to the right path. There is some naughty CSS at work here me thinks...

For clarity the players are:

CCK - 6.x-2.0-rc3
Date- 6.x-2.0-beta3
Drupal 6.2
PHP 5.2

goose2000’s picture

Component: Code » Date CCK Field
Priority: Critical » Normal
Status: Active » Closed (fixed)

Yesterday I worked on this some more and it was working. I un-installed and started again. This time no trouble. Embarrassing, but I think this was a user issue. I'm setting this to 'closed'. And the calendar operates just the same in IE as Firefox I was happy to see.