left-menu sometimes disappears (IE7)

haroldb - July 9, 2008 - 13:53
Project:Green-n-Black
Version:5.x-1.2
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

The left menu on my site - www. haroldbeukers.nl - sometimes disappears (IE7). I can refresh the theme manually, and the problem is solved (just for shorttime:).

When the left-menu isn't visible, the sourcecode is missing:

<!--[if lte IE 7]>
<style type="text/css" media="all">@import "/themes/greenNblack/ie-fix.css";</style>
<![endif]-->
<!--[if lte IE 6]>
<style type="text/css" media="all">@import "/themes/greenNblack/ie6-fix.css";</style>
<script type="text/javascript">
$(document).ready(function(){ $(document).pngFix(); });
</script>
<![endif]-->

and

<script type="text/javascript" src="/themes/greenNblack/js/jquery.pngFix.js"></script>

#1

haroldb - August 7, 2008 - 21:39
Assigned to:haroldb» Anonymous

Im not the author...
update 2008-08-08:I changed my layout..

#2

cmstuning - August 20, 2008 - 09:34

I used php detection of the browser. Most probably, your server have some problems in user-agent detection. Anyway, I plan to re-make columns for the future versions of the theme.

#3

haroldb - June 7, 2009 - 15:23

maybe it could be the problem that my server used mysql 3.23 and php 4.3 (2 weeks ago, my provider upgraded it to php 5 and mysql 5, because i asked them --> to use drupal 6.x)...
but i didnt check the Green'n'Black-template again (i'll try it one of these days for short time) and let you know.

#4

marlandc - August 22, 2008 - 02:51

Where is that source code? I'm using Green'n'Black and I didn't realize this was a problem until my brother who uses IE 7 pointed it out to me. I confirmed it on my own PC.

If I type in http://sitename/index.html the left menu is just fine. If I type in http://WWW.sitename.com/index.html, the left menu is off way to the left and if I type in http://sitename.com the menu is way off to the left. ONLY http://sitename.com/index.html works properly.

How do I fix this? I'm hosted on Bluehost, and using Drupal 5.7 right now.

#5

marlandc - August 22, 2008 - 22:36

I notice that when I open my page without the index.html, these lines of code are missing (just like what haroldb reported initially), but I can't find an answer as to why and can't figure it out. This is only present when I specifically open the page as http://outdoorlightingchoices.com/index.html. http://outdoorlightingchoices.com works ok, too. It's only not working, now, when I type in www first. I never use the www in links, so hopefully this won't be a big deal, but I would like to understand why it's different. Thanks.

@import "/themes/greenNblack/ie-fix.css";

@import "/themes/greenNblack/ie6-fix.css";

#6

marlandc - August 28, 2008 - 01:03

Hi, I have not been able to find a fix for this yet and I would really like to get it resolved, please. Why doesn't the iefix.css get imported when a "www" gets put in front of the URL?

#7

ajross - September 3, 2008 - 16:15

Subscribing - same problem.

#8

haroldb - September 7, 2008 - 00:13

@marlandc and @andyjeanne:
could you check which MySQL and PHP you are using? (...../admin/logs/status)
because after the server upgrading, it looks like there is no problem with the Green'n'Black-template anymore. (my experience)

...oohh.. and i didn't mention it.. the problem was only when i was logged-out..
when i was logged in, the menu worked just fine.. so, drupal-users with this template..check your site also when you are logged-out.

update: migration is no solution..same problem again :(

#9

marlandc - September 8, 2008 - 18:01

Harold, I'm at 5.0.45 (mySQL) and 5.2.6 (PHP). I'm seeing the same thing as you - the menu flies out to the left when I'm logged out but it's ok when I'm logged in as admin.

#10

marlandc - September 10, 2008 - 04:16

I solved this problem by getting rid of my left sidebar for now.

#11

energypro - September 22, 2008 - 22:09

I am getting the same error using this template. It doesn't not matter if I am logged in or not. It hapens on several other PC's that I have tested. It is critical that I get this resolved! Any temporary work-arounds?

#12

healingdeva - January 21, 2009 - 01:03

I also found I was having the same issue. In doing a bit of checking, I had changed the left column width in the style.css file but not in the ie-fix.css and ie6-fix.css files. Correcting the width fixed the issue.

#13

k74 - April 19, 2009 - 16:26

please, changed exactly in style.css?

#14

cmstuning - November 14, 2009 - 15:34
Status:active» fixed

This issue has been fixed in 6.x-1.6 version

#15

System Message - November 28, 2009 - 15:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.