+ Post New Thread
Results 1 to 1 of 1
EduGeek Joomla 1.5 Package Thread, FIX: Issues in IE6 when removing one of the sidebars in Projects:; Hi, People may be experiencing problems when removing all the modules from either the left or the right of the ...
  1. #1

    Join Date
    Jun 2007
    Location
    Colchester, Essex, UK
    Posts
    56
    Thank Post
    2
    Thanked 16 Times in 14 Posts
    Rep Power
    21

    Lightbulb FIX: Issues in IE6 when removing one of the sidebars

    Hi,

    People may be experiencing problems when removing all the modules from either the left or the right of the page, where IE6 no longer displays the page correctly (if you remove the left hand modules, the right hand modules appear at the bottom of the page, and if you remove the right hand modules, the page content is shifted below the left hand modules).

    To fix the issue:

    Edit templates\axe_rescheek_(colour)\index.php

    Change the following code:

    PHP Code:
    <?php if($this->countModules('right and left') <= 0) :?>
    <!--[if IE 6]>
    <link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie6/collapseie6.css" rel="stylesheet" type="text/css" media="screen" />
    <![endif]-->
    <link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/collapse.css" type="text/css" />
    <?php endif; ?> 
    <?php if($this->countModules('right or left') <= 0) :?>
    <!--[if IE 6]>
    <link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie6/collapse2ie6.css" rel="stylesheet" type="text/css" media="screen" />
    <![endif]-->
    <link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/collapse2.css" type="text/css" />
    <?php endif; ?>
    to read like this instead:

    PHP Code:
    <?php if($this->countModules('right and left') <= 0) :?>
    <link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/collapse.css" type="text/css" />
    <!--[if IE 6]>
    <link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie6/collapseie6.css" rel="stylesheet" type="text/css" media="screen" />
    <![endif]-->
    <?php endif; ?> 
    <?php if($this->countModules('right or left') <= 0) :?>
    <link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/collapse2.css" type="text/css" />
    <!--[if IE 6]>
    <link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie6/collapse2ie6.css" rel="stylesheet" type="text/css" media="screen" />
    <![endif]-->
    <?php endif; ?>
    (All that I have changed is to move the conditional <!--[if IE 6]> comments downwards so that they are below collapse.css and collapse2.css, instead of above them)

    It seems as if this was the original intention of the template (for these two CSS files to override the main ones when running under IE6), but they were ordered incorrectly, and I guess it just never got picked up.

    I have tested these changes on our site (http://www.crgs.co.uk/) and it seems to do the job. Perhaps the template could be updated to fix this in future?

    One more thing - if you are still having issues with content not appearing correctly in IE6, make sure that none of your content modules are set to have a CSS width greater than 510 pixels (with both sidebars), or 720 pixels (with just one sidebar), as this will cause the same overflow issues in IE6.
    Last edited by Minkus; 28th May 2010 at 01:38 PM.

SHARE:
+ Post New Thread

Similar Threads

  1. username as footer in IE6
    By iking in forum Network and Classroom Management
    Replies: 11
    Last Post: 18th July 2011, 04:08 PM
  2. Upgrading IE6 to IE8
    By coop1984 in forum Windows
    Replies: 3
    Last Post: 30th November 2009, 09:10 AM
  3. Security settings in IE6
    By woody in forum Windows
    Replies: 3
    Last Post: 17th January 2007, 01:26 PM
  4. IE6 on AMD64 Ubuntu
    By CyberNerd in forum *nix
    Replies: 2
    Last Post: 23rd November 2006, 10:31 AM
  5. IE6 https problem
    By Spongor in forum Windows
    Replies: 7
    Last Post: 2nd November 2006, 09:25 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •