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, ...ie and Ajax modal popupie and Ajax modal popup
Previous
 
Next
New Post
4/5/2010 4:18 PM
 

Hi everyone I have an Ajax modal popup module that I've created for DNN which works brilliantly, in my dev environment at home using firefox and ie.

However on the live environment, on a portal that has a custom skin, and only in ie (definately 8, not sure about 7,etc) it goes mad! 

The popup is shown inline instead of center-screen. The opaque covering that is supposed to be applied to the screen is shown only below the popup. And the drop shadow is shown at the top of the screen on its own! 

I've tried loads of stuff but I cant seem to get a handle on why this is happening - I'd be grateful if someone can suggest why ? I've tried ie7 compatibility mode, clearing floats etc. This works fine with the standard DNN skin in all browsers, so it makes me think its something to do with the skin I'm using and ie not liking it ...? 

Any suggestions gratefully recd.

Many thanks

Rob

 

 
New Post
4/5/2010 4:54 PM
 

What is the DOCTYPE of the custom skin? My guess is that it is NOT XHTML Transitional 1.0, which causes the modal popup issue you're describing.


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
4/5/2010 5:45 PM
 

Thanks Chris, I'm glad it's something obvious! 

The doctype on the site is

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
which certainly isnt the one you mention. However I can;t find any mention of doctype in the skin files.....
which leads me to suspect that it is put there by something else, maybe this is the default? 
If so can you advise how I might change the default doctype, or how I can insert the correct one into the skin the site is running>? 
Many thanks,
 Rob
 
New Post
4/5/2010 5:59 PM
 

What version of DNN are you running? If 5.1+ you can change the default doctype on the host/host settings page.

otherwise you need to modify the doctype by adding a SKINNAME.doctype.xml file into the skin folder. You can see an example in the /portals/_default/skins/minimalextropy/ folder if you are running DNN 4.9.1+ 

You might be careful though, some skins won't display properly if you start modifying the skin itself.


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
4/5/2010 6:08 PM
 

Brilliant thanks again Chris

I'm currently running 4.9 so will have a look at the example, but planning a move to 5.2 soon so if it breaks anything I'll wait till I upgrade.

Cheers

Rob

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...ie and Ajax modal popupie and Ajax modal popup


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