Page 1 of 1
[SOLVED] Problem of PNG with IE 6 on none default page
Posted: Wed Dec 12, 2007 12:12 am
by yapourha
Hello,
Thank you for your great CMS.
I've discovered it a month ago and it's just great.
I'm trying to do at the moment the website of my karate club and I would like to be able to have a different picture for each section.
I've managed to do so by copying the default template I hade done and by adding a specifc stylesheet of personalization for each section.
My problem is that whereas all the sections are based on the same template (Layout: Top menu + 2 columns) I do not manage to have the same result. My PNG pictures (that work with a hack IE6 on the home page) are not visible on any other page than the home page.
Could you help me please.
Thank in advance.
Yapourha
Re: Problem of PNG with IE 6 on none default page
Posted: Wed Dec 12, 2007 4:47 am
by deejmer
I think i found it.
On your other pages, a large chunk of JS seems to be missing.
Code: Select all
<!--[if gte IE 5]>
<STYLE type=text/css>@import url(images/cms/png-ie.css);
#logo {FILTER: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/cms/LOGO_KCN.png', sizingMethod='')}
#titre_site {FILTER: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/cms/Karate_club_nanceien.png', sizingMethod='')}
#dojo_cours {FILTER: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/cms/fond_dojo_addresse.png', sizingMethod='')}
</STYLE>
<![endif]-->
I think you need to make sure you are importing this into your other templates.
By the way, instead of maintaining many templates (too much overhead) this whole thing could be settled by using a handy little tag called Section Image found at:
http://dev.cmsmadesimple.org/projects/sectionimage I've used this, very cool tool for what you are doing.
Re: Problem of PNG with IE 6 on none default page
Posted: Wed Dec 12, 2007 9:09 pm
by yapourha
Hello,
Thank you Deejmer for your answer.
The JS code was a test I was doing to solve my problem.
Finally I took this all out and after many tests I found that the problem was coming from the pretty URL mechanism.
Set on =true the pretty URL mechanism was making my URL on this model for pages other than the home page : index.php/nameofthepage.htm
The bug was not happening on the home page but on any other pages except on the results page of a search.
I set back the line $config['internal_pretty_urls'] = false; in the config file again and everything is OK now.
Thank you as well for the Section Image tag I've download it and I will try it.
Yapourha
Re: Problem of PNG with IE 6 on none default page
Posted: Wed Dec 12, 2007 9:17 pm
by calguy1000
well, maybe you could post your page template(s)? (say 2) into the forum.... and we could help.
Usually (though not always). if your having a problem such as this, it's just a matter of thinking a little bigger, or even sometimes smaller.
Re: Problem of PNG with IE 6 on none default page
Posted: Wed Dec 12, 2007 9:59 pm
by yapourha
Thank you calguy1000 for your proposition.
In fact indeed it was a question of thinking a little bigger.
By giving in my stylesheet absolute URL to all images that require the hack the problem is solved.
So thank you to every one, I'm going to put the [SOLVED] mention on this topic.
Bye.
Yapourha