I put this code there myself. When I looked at the site with other browsers, I noticed that IE v6 didn't support png format. (that ugly gray substitute instead of transparent). So I did some hunting arround the Internet to find a fix, I don't know how to program, code looks like chineese to me!
I had notided that IE v6 loaded the png twice, but found that putting in this code in place and having IE act funny was better than no png support.
I did all this before updating to phpWCMS v1.2.8.
I tried removing my code and previewed my page in Internet Explorer, it doesn't show the png file at all now! Actually it loads it once with that gey layer, then it dissapears! Are you talking about
line 87 in
conf.inc.php?
Code: Select all
$phpwcms['IE_htc_png'] = 1; // enables HTC pngbehavior for IE < 7 - has no effect in other browsers
as you can see it is set to 1 which means "on" right? So why isn't IE displaying the png? Is there a bug in phpWCMS?
BTW, thanks for your help!
P.S.: I think I should mention that in order to preview my site in Internet Explorer, I have to run a Virtual PC session I downloaded from Microsoft. Windows doesn't allow multiple versions of IE on the same machine, and since I always install all of the system patches, I am now running IE7 on my machine. Being a consciencious designer, I try to preview my sites in as many versions of all the major browsers, to see that all is ok.
On a Mac I can install as many version of IE as I like, but not in Windows unfortunately.
All this said, with my code IEv6 in Virtual PC session displays the png, but not with the phpwcms local code though.