Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Styles Skin Object Not working in any version of IE...Styles Skin Object Not working in any version of IE...
Previous
 
Next
New Post
3/22/2010 6:28 PM
 

Has anyone else noticed this in IE6, IE7, IE8, that conditional statements placed in the header for style sheets by the Styles skin object never get uncommented in IE when the version matches the conditional statement?  This is happening for me with DNN 5.2.1 and any version of IE.  The style sheet link is always commented out and never gets applied, in custom skins as well as the default Minimal Extropy skin.  Is this a bug with the skin object or just another one of IE's failures?


JOHN GIESY
DotNetNuke Hosting Expert

DotNetNuke 7 Hosting $70 /year
DNN4Less.com Team DotNetNuke  

New Post
3/22/2010 8:07 PM
 

It is by design. IE reads the conditional comments and do not need to uncoment the comment.

Before I am not sure how it is on IE7 and IE8 the the test found the highest IE version installed on the machine.

So if you have IE 6 and IE8 on the same machine it will fail on IE6.

 

 
New Post
3/22/2010 9:21 PM
 

So, I do need to address IE7 compatibility mode in IE8, is there a way to have a separate style sheet used for IE7 compatibility mode or do I need to implement some type of hacks if the client does not want to use meta tags to force one or the other modes in IE8?


JOHN GIESY
DotNetNuke Hosting Expert

DotNetNuke 7 Hosting $70 /year
DNN4Less.com Team DotNetNuke  

New Post
3/22/2010 10:15 PM
 
Alright, this is the oddity of it. If you set up a conditional statement in the body with "if IE 7", then you do get feedback from that which shows that IE8 in IE7 Compatibility Mode does report as IE7, not IE8. That's what I need. But, when it comes to the style sheet, it acts like it's IE8 and doesn't load the IE7 style sheet at all as the class from that style sheet is not being used at all. So, do these conditional comment things only work in the body and not in the head area? I've double checked, triple checked, and quadruple checked spelling, directory structure, file name, class spelling and case, etc. It just baffles me why it works in one spot and not the other. Is it the area it's used in or is it something with the skin object or what?

JOHN GIESY
DotNetNuke Hosting Expert

DotNetNuke 7 Hosting $70 /year
DNN4Less.com Team DotNetNuke  

New Post
3/22/2010 10:20 PM
 
Ok. So, now it is working. It must have been some kind of cache thing. Thought I'd deleted all cache items from all locations before, but I guess not.

JOHN GIESY
DotNetNuke Hosting Expert

DotNetNuke 7 Hosting $70 /year
DNN4Less.com Team DotNetNuke  

Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Styles Skin Object Not working in any version of IE...Styles Skin Object Not working in any version of IE...


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out