Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » Chameleon / ChameleonLite
- » Chameleon
- » Found (and Solved) an Internet...
Found (and Solved) an Internet Explorer Issue
Found (and Solved) an Internet Explorer Issue
I think I found (and solved!) an Internet Explorer version detection issue.
I found that it couldn't detect between different versions, if I set a rule for IE6 it also got triggered in IE8 and vice versa.
In extendedrules.php I changed three lines and it works now. The original code was:
if ($b == "ie" and MM_BROWSER_IE == true) return true;
if ($b == "ie6" and MM_BROWSER_IE == true and MM_BROWSER_IE <= 6) return true;
if ($b == "ie7" and MM_BROWSER_IE == true and MM_BROWSER_IE == 7) return true;
if ($b == "ie8" and MM_BROWSER_IE == true and MM_BROWSER_IE == 8) return true;
I think it's supposed to be:
if ($b == "ie" and MM_BROWSER_IE == true) return true;
if ($b == "ie6" and MM_BROWSER_IE == true and MM_BROWSER_IE_VERSION <= 6) return true;
if ($b == "ie7" and MM_BROWSER_IE == true and MM_BROWSER_IE_VERSION == 7) return true;
if ($b == "ie8" and MM_BROWSER_IE == true and MM_BROWSER_IE_VERSION == 8) return true;
It's working for me anyway.
Re: Found (and Solved) an Internet Explorer Issue
Oouch!!! how did that every get through testing... I'll re-release that with the fix, first thing next week.
Thanks for the heads-up, I really appreciate it.
Cheers,
Stephen
- Index
- » Chameleon / ChameleonLite
- » Chameleon
- » Found (and Solved) an Internet...
Board Info
- Board Stats:
- Total Topics:
- 1700
- Total Polls:
- 6
- Total Posts:
- 5967
- Posts this week:
- 3
- User Info:
- Total Users:
- 8056
- Newest User:
- no21an
- Members Online:
- 0
- Guests Online:
- 228
- Online:
- There are no members online
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked