Garland Compatibility on IE6

When theme is Garland, “Calendar to browse events” block is activated on the right side, IE6 will show all blocks on the left side.

This seems to be the solution provided by Matthew Jabs here:

http://drupal.org/node/154906#comment-276759

“Event Module
mattjabs - October 2, 2007 - 06:15

If you have the event module installed, try editing the event.module file to change the display of the days of the week from 3 digits to 2 digits...that worked for me.

In any instance in the file (each appears 4 times, change all 4), where you see Mon, Tue, Wed, Thu, Fri, Sat, Sun...change them to Mo, Tu, We, Th, Fr, Sat, Sun respectively & you won't have the menu items shifting around anymore.

--
Matthew Jabs”

I’ll try the solution and let you know the result

CommentFileSizeAuthor
#2 event.module112.35 KBAmirTheSeventh
#1 event.module112.35 KBAmirTheSeventh

Comments

AmirTheSeventh’s picture

StatusFileSize
new112.35 KB

Yes, i confirm that this fixes the problem. not sure if this is the best solution. couldn't make eclipse to make a patch so attached the modified file.
with this fix, all .po files must also get updated

AmirTheSeventh’s picture

StatusFileSize
new112.35 KB

Yes, i confirm that this fixes the problem. not sure if this is the best solution. couldn't make eclipse to make a patch so attached the modified file.
with this fix, all .po files must also get updated

AmirTheSeventh’s picture

By the way it modified form 2.x branch

samuelet’s picture

Adding these lines in themes/garland/fix-ie.css (or in modules/event/event.css to apply to all browsers) should fix it:

#wrapper #container #center {
width: 98% !important;
}

When applied, the center div will be a little bit short.

gerhard killesreiter’s picture

Samuelet, thanks for the CSS patch (I don't grok CSS at all). Do you think I sould include this in event.css?

samuelet’s picture

Since the calendar bug happens only in ie6, i'd suggest to include the code in the fix-ie.css file. Moreover, in this way, the center column will be smaller only for ie6 browsers.
You can append it at the end of the file or, even better, put only the width property inside the first occurence of the "#wrapper #container #center" element.

japerry’s picture

Status: Active » Closed (outdated)

Event for Drupal 8 is unrelated to older versions. If an issue similar to this one exists, please open a new issue with the 8.x branch.