Block IE6 Totally

Questions related to the configuration of Joomla, Templates, and Security related questions/issues
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Mon Nov 29, 2010 6:33 am
I'm interested to know how to block IE6 totally as you do here.

I can do this with other templates but not Gavick

Why no IE6?

We need to block the site totally as a part of the requirements of our payment processor / bank

Would be good to have something like this which we could use instead of the depreciated site that occurs by default when the IE6 option is enabled.

Thanks
User avatar
Expert Boarder

GK User
Mon Nov 29, 2010 8:50 am
You have in the framework function isIE6 - so you can create on your default view code like this:

Code: Select all
if($this->isIE6()){
    echo 'IE6 is blocked';
    exit();
}
User avatar
Administrator

GK User
Mon Nov 29, 2010 10:03 am
dziudek a great step 2

What you missed on was assuming I have the depth of knowledge of the template system that you have. ;)

Where exactly does this code apply as framework function is IE6 is a bit vague ... a bit more help would be greatly appreciated :blush:

Thanks
User avatar
Expert Boarder

GK User
Mon Nov 29, 2010 10:09 am
you can put the code before DOCTYPE declaration in layouts/default.php file
User avatar
Administrator


cron