[SOLVED] Problem of PNG with IE 6 on none default page

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
yapourha
New Member
New Member
Posts: 4
Joined: Tue Dec 11, 2007 11:09 pm

[SOLVED] Problem of PNG with IE 6 on none default page

Post 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
Last edited by yapourha on Wed Dec 12, 2007 10:01 pm, edited 1 time in total.
User avatar
deejmer
Forum Members
Forum Members
Posts: 69
Joined: Thu Jan 11, 2007 7:32 pm

Re: Problem of PNG with IE 6 on none default page

Post 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&nbsp; I've used this, very cool tool for what you are doing.
yapourha
New Member
New Member
Posts: 4
Joined: Tue Dec 11, 2007 11:09 pm

Re: Problem of PNG with IE 6 on none default page

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Problem of PNG with IE 6 on none default page

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
yapourha
New Member
New Member
Posts: 4
Joined: Tue Dec 11, 2007 11:09 pm

Re: Problem of PNG with IE 6 on none default page

Post 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.  ;D

Bye.

Yapourha
Post Reply

Return to “Layout and Design (CSS & HTML)”