Post by tilesupply » Sun Feb 20, 2011 2:34 am

I am looking to either get my site working in IE6 or a way of letting our customers know to upgrade their browser.
This is a bit of a pain as our old site did work with it but the new one does not.
We are looking for a quick turn around on this.

If you are good with css or you know a quick fix please let me know.
Please send me a PM with the cost and I will PM the full site details.

Many Thanks
Paul

Active Member

Posts

Joined
Wed Aug 26, 2009 7:48 am


Post by d_koev » Sun Feb 20, 2011 5:08 am

Even Microsoft and Google stopped supporting IE6. There is no serious designer and developer in this world who would contribute to extending IE6 life.

Check this site with IE6 (if you have it) - http://matevicentre.com/. If this is something that you could use, I could implement it in your site. Send me a PM if you're interested.

Уеб дизайн и SEO услуги от metaGraphics Design Studio
Check my ShopperLand Premium theme
Check my ModernStore Premium theme


New member

Posts

Joined
Thu Jan 14, 2010 8:03 pm

Post by tilesupply » Sun Feb 20, 2011 6:19 am

I will PM you more details.

Active Member

Posts

Joined
Wed Aug 26, 2009 7:48 am


Post by JNeuhoff » Sun Feb 20, 2011 6:39 am

You should create a browser warning page telling the user to upgrade to a more modern web browser.

For example, have this in your template/common/header.tpl:

Code: Select all

<!--[if lt IE 7]>
<meta http-equiv="refresh" content="1;url=index.php?route=common/bad_browser">
<![endif]-->
And use the following catalog/controller/common/bad_browser.php:

Code: Select all

<?php  
class ControllerCommonBadBrowser extends Controller {
	public function index() {
		$this->language->load('common/bad_browser');
		$this->document->title = $this->config->get('config_title');
		$this->document->description = $this->config->get('config_meta_description');
		$this->data['title'] = $this->language->get('title');
		$this->data['text_warning'] = $this->language->get('text_warning');
		$this->data['links'] = $this->language->get('links');
		
		if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/common/bad_browser.tpl')) {
			$this->template = $this->config->get('config_template') . '/template/common/bad_browser.tpl';
		} else {
			$this->template = 'default/template/common/bad_browser.tpl';
		}
		
		$this->children = array();
		
		$this->response->setOutput($this->render(TRUE), $this->config->get('config_compression'));
	}
}
?>
With the following template/common/bad_browser.tpl:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
	<head>
		<title><?php echo $title; ?></title>
	</head>
	<body style="text-align:center;">
		<img alt="" src="<?php echo HTTP_IMAGE.$this->config->get( 'config_logo' ); ?>" />
		<div style="color:black; font-family:sans-serif; font-size:16px; width:460px;margin:12px auto 0 auto; padding:12px; text-align:justify;border:dotted 1px silver;">
			<?php echo $text_warning; ?>
			<br /><br /><br />
			<?php foreach ($links as $name => $link) { ?>
			<a href="<?php echo $link; ?>" alt="<?php echo $name; ?>" style="color:navy;"><?php echo $name; ?></a><br />
			<?php } ?>
		</div>
	</body>
</html>
And the following catalog/language/english/common/bad_browser.php:

Code: Select all

<?php
// Title
$_['title']          = 'Bad Browser';

// Text
$_['text_warning']   = 'It looks like you are using <i>Internet Explorer 6</i> or older!<br /><br />';
$_['text_warning']  .= 'The old Internet Explorer is not supported by this website, ';
$_['text_warning']  .= 'and viewing it with this browser would result in incorrectly rendered pages ';
$_['text_warning']  .= 'and missing functionality. Please consider upgrading to a more modern web browser.';

$_['links']          = array( 
                         'Download Internet Explorer' => 'http://www.microsoft.com/',
                         'Download Firefox'           => 'http://www.mozilla.org/',
                         'Download Safari'            => 'http://www.apple.com/safari/',
                         'Download Google Chrome'     => 'http://www.google.com/chrome/',
                         'Download Opera'             => 'http://www.opera.com/'
                      );
?>
Then, if a user attempts to access your site using IE6, he will get something like this:
bad_browser.png

bad_browser.png (18.63 KiB) Viewed 2165 times


Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by tilesupply » Sun Feb 20, 2011 7:37 am

Many thanks for that it work fine.

Regards
Paul

Active Member

Posts

Joined
Wed Aug 26, 2009 7:48 am


Post by tim21701 » Wed Mar 09, 2011 8:37 am

JNeuhoff wrote:You should create a browser warning page telling the user to upgrade to a more modern web browser......
Your example does not work! I see a blank page in IE6 :choke:
(Windows XP Pro 32bit, IE 6.0 and Opera 11.01)
Last edited by tim21701 on Fri Mar 11, 2011 2:48 am, edited 1 time in total.

User avatar
Newbie

Posts

Joined
Fri Feb 25, 2011 5:46 pm
Location - Russia, Murmansk

Post by d_koev » Wed Mar 09, 2011 3:07 pm

IE6 is DEAD!

C'mon people, get back to reality!

http://ie6countdown.com/

Even Microsoft stopped the support for IE6

Уеб дизайн и SEO услуги от metaGraphics Design Studio
Check my ShopperLand Premium theme
Check my ModernStore Premium theme


New member

Posts

Joined
Thu Jan 14, 2010 8:03 pm

Post by mediastormflash » Wed Dec 07, 2011 1:54 am

tim21701 wrote:
JNeuhoff wrote:You should create a browser warning page telling the user to upgrade to a more modern web browser......
Your example does not work! I see a blank page in IE6 :choke:
(Windows XP Pro 32bit, IE 6.0 and Opera 11.01)

Yeah, I am getting the same problem. I'm guessing JNeuhoff wrote the script 1.5.0. Im using 1.5.1.3 and it throws a database error: Fatal error: Cannot access private property Document::$title in /home/content/87/7899187/html/catalog/controller/common/bad_browser.php on line 5

Please keep in mind that I.E. 6 is dead, unless you live in China, where we do a huge portion of our sales (imagine that, and American company selling to China /pwnge). When Microsoft is dead, maybe we can consider ignoring the IE6 warning screens. Until then we should continue to alert those forced to use IE6 which I am sure are several million people.

I will hack at this until my boss screams to see how far I can get. Then it will be up to others better than I at OC.

ty, MSF


Posts

Joined
Tue Aug 02, 2011 4:46 am
Who is online

Users browsing this forum: paulfeakins and 12 guests