-
- 49 Posts
The site I’m developing renders pretty good in most browsers but not in IE6 of course. So before I make the site useful to IE6 users (who are they, btw?), I would like to send them to a specific resource, which is a splash page just for IE6. I have understood that this can be done with a plugin, but I’m not sure which system event to use.
Is it any of these:
OnWebPageComplete
OnWebPageInit
OnWebPagePrerender
?
Thanks
<head>
...
<!--[if lte IE 6]>
<meta HTTP-EQUIV="REFRESH" content="0; url=ie-6-must-die.html">
<![endif]-->
</head>
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
You may want to look at using the actual headers to send redirect rather than a conditional comment. This can be done with PHP or JS or both. I’d personally do it with php since you can make it a plugin to do before the page is loaded. The problem with such a plugin is that it must run everytime someone accesses your site regardless of browser.
You should be able to turn this into a plugin pretty easily:
http://twodayslate.wordpress.com/2007/09/09/blockredirect-ie6-users/
Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup
magician.
Blog ✦
Twitter ✦
LinkedIn ✦
GitHub
You can try it as a plugin, run the event at the OnWebPageInit
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
Here’s a list of the basic parser events, their order, and what they can use
http://sottwell.com/system-events.html