Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.


datto510
Beginner Modder
ranks
useravatar
User Info

Cant seem to get template to switch on ie6 browser

Hello,

I have tried a few different codes but I cant seem to get the website template to switch for a older versions of internet explorer eg ie 6

Thanks


Administrator has disabled public posting
metamodguy
useravatar
User Info

Re: Cant seem to get template to switch on ie6 browser

Hi,

you should be able to do it this way:

if ($core_genius->check("browser = ie6")) return true;


Then in the SUCCEED action, set the template you want to use for IE6.

There's a full list of things you can check with JomGenius, including the browser codes, on this page:

http://www.metamodpro.com/jomgenius/parameters

Hope that helps,
Stephen


Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory

Administrator has disabled public posting
datto510
Beginner Modder
ranks
useravatar
User Info

Re: Cant seem to get template to switch on ie6 browser

Thanks that worked perfectly !


Administrator has disabled public posting

Board Info

Board Stats:   Total Users: 3076  Total Topics: 1195  Total Polls: 7  Total Posts: 4448  Posts this week: 18
User Info:   Newest User :  tao   Members Online: 0   Guests Online: 101
Online  There are no members online
Topic
New
Locked
Topic
New
Locked
Sticky
Active
New/Active
Sticky
Active
New/Active
New/Closed
New Sticky
Closed/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky Active Locked
Active/Sticky
Sticky/Locked
Sticky/Active/Locked