X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   5th item in the category not showing in Internet Explorer (https://forum.x-cart.com/showthread.php?t=66899)

ADDISON 05-22-2013 11:39 AM

Re: 5th item in the category not showing in Internet Explorer
 
Here is a good resource about IE Compatibility:

http://webdesign.about.com/od/internetexplorer/qt/force-compatibility-view-in-ie.htm

Also you can force your customers to install a plugin for IE to solve the issues Microsoft's Team did not.

Google Chrome Frame: http://www.google.com/chromeframe. Of course Microsoft advices not install for security reasons.

But no word from Microsoft about the speed with Google Chrome Frame installed: http://www.computerworld.com/s/article/9138459/IE8_runs_10_times_faster_with_Google_plug_in

Sooner or later X-Cart should be completely HTML5 + CSS3. doctype will be only html (<!DOCTYPE HTML>)

tgr 05-22-2013 04:43 PM

Re: 5th item in the category not showing in Internet Explorer
 
Thanks Addison for the advice, I appreciate your time. I did some reading and tried using <meta http-equiv="X-UA-Compatible" content="IE=7"> and it did force IE to display the Document Mode in IE7 on one of my computers but when I tested the results (after clearing cache) on two other computers using IE9 I received an error "HTML: X-UA-Compatible Meta tag ('IE=7') ignored because document mode is already finalized" and the document mode was set to IE9 standards. Did a little more reading and can't seem to figure out why it is not working for all 3 computers.

If at all possible, instead of trying to force the document mode back to IE7 is there something I could do to update the Xcart code to make it compatible with the newer versions (IE8, 9, and 10)?

ADDISON 05-23-2013 12:11 AM

Re: 5th item in the category not showing in Internet Explorer
 
Compatibility in IE is a nightmare. I could try the following testing solution:

1) Find what IE version has the visitor (pass it as a smarty variable, normally it should be a $GLOBAL variable - not sure)

2) Change the meta tag based on the smarty variable according to visitor's IE version (IE7, IE8, IE9).

tgr 05-28-2013 12:25 PM

Re: 5th item in the category not showing in Internet Explorer
 
I've come up with a solution. It seems that Xcart adds some inline styles to the products-list, one of which is a z-index. It starts with 3 and counts down, so the 5th item in the product list has a z-index: -1 and does not display. I looked for the snippet of code that assigns the z-index in the products-list.tpl and the products.tpl, but was unable to locate. I ended up having to put a larger negative z-index on the body and the page container to make the complete product list visible.


All times are GMT -8. The time now is 10:54 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.