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
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | event.module | 112.35 KB | AmirTheSeventh |
| #1 | event.module | 112.35 KB | AmirTheSeventh |
Comments
Comment #1
AmirTheSeventh commentedYes, 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
Comment #2
AmirTheSeventh commentedYes, 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
Comment #3
AmirTheSeventh commentedBy the way it modified form 2.x branch
Comment #4
samuelet commentedAdding 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.
Comment #5
gerhard killesreiter commentedSamuelet, thanks for the CSS patch (I don't grok CSS at all). Do you think I sould include this in event.css?
Comment #6
samuelet commentedSince 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.
Comment #7
japerryEvent 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.