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, ...Copy/Rename of Skin ascx causes IE to blow upCopy/Rename of Skin ascx causes IE to blow up
Previous
 
Next
New Post
9/13/2010 12:23 PM
 
Rick,

Here is the HTML I'm inserting into Minimal Extropy Index.ascx just after the 3rd and 4th to the last closing div (</div>) tags:

<div style="background-color:#478BBB; text-align:center;">
                    <table style="padding-bottom:25px; padding-top:10px;">
                        <tr>
                            <td style="width:20%;">
                                <!-- Left site of top footer div -->
                                <div style="background-color:Transparent; text-align:center;">
                                    <div class="NormalBold" style="padding-bottom:10px; font-weight: bold; font-family: Arial; font-size: 11px; color: #FFFFFF;">
                                        Follow Us
                                    </div>
                                    <div>
                                        <a id="ancFacebook" runat="server" href="http://www.facebook.com"  target="_blank" >
                                        <img id="idFacebook" runat="server" alt="Link to Facebook" src="~/Portals/_default/Skins/MinimalExtropy/images/Facebook-48.png" /></a>
                                        &nbsp;
                                        
                                        <a id="ancLinkedIn" runat="server" href="http://www.linkedin.com"  target="_blank" >
                                        <img id="idLinkedIn" runat="server" alt="Link to LinkedIn" src="~/Portals/_default/Skins/MinimalExtropy/images/Linked_In-48.png" /></a>
                                        &nbsp;
                                        
                                        <a id="ancTwitter" runat="server" href="http://twitter.com/TechMedPartners"  target="_blank" >
                                        <img id="idTwitter" runat="server" alt="Link to Twitter" src="~/Portals/_default/Skins/MinimalExtropy/images/Twitter-48.png" /></a>
                                        &nbsp;
                                    </div>
                                </div>
                            </td>
                            <td valign="top" style=" width:25%; margin-left:0; text-align:center;">
                                <!-- Original colors FFFFFF -->
                                <!-- BEGIN: Constant Contact Bubble Opt-in Email List Form -->
                                <div align="center">
                                    <table width="170" border="0" cellspacing="0" cellpadding="0">
                                        <tr bgcolor="#FFFFFF" valign="top">
                                            <td width="9" rowspan="2">
                                                <img src="https://imgssl.constantcontact.com/ui/images/visitor/tl_brdr2_trans.gif"
                                                    width="9" height="9" border="0"></td>
                                            <td width="152" height="1" bgcolor="#FFFFFF">
                                                <img src="https://imgssl.constantcontact.com/ui/images/spacer.gif" border="0" width="1"
                                                    height="1"></td>
                                            <td width="9" rowspan="2" align="right">
                                                <img src="https://imgssl.constantcontact.com/ui/images/visitor/tr_brdr2_trans.gif"
                                                    width="9" height="9" border="0"></td>
                                        </tr>
                                        <tr>
                                            <td width="152" height="8" bgcolor="#FFFFFF">
                                                <img src="https://imgssl.constantcontact.com/ui/images/spacer.gif" border="0" width="1"
                                                    height="1"></td>
                                        </tr>
                                        <tr> <!-- Original td widht 170; orginal colors FFFFFF orig style style="border-left: 1px solid #FFFFFF; border-right: 1px solid #FFFFFF;" -->
                                            <td width="170" colspan="3" style="border-left: 1px solid #FFFFFF; border-right: 1px solid #FFFFFF;">
                                                <div align="center">
                                                    <form name="ccoptin" action="http://visitor.r20.constantcontact.com/d.jsp" target="_blank"
                                                        method="post" style="margin-bottom: 3;">
                                                        <!-- Original Font Style: style="font-weight: bold; font-family: Arial; font-size: 20px; color: #FFFFFF;" -->
                                                        <font style="font-weight: bold; font-family: Arial; font-size: 11px; color: #FFFFFF;" >
                                                            The TMP Newsletter</font><br>

                                                        <input type="text" name="ea" size="14" value="" style="font-family: Arial; font-size: 10px;
                                                            border: 1px solid #999999;">
                                                        <input type="submit" name="go" value="Sign Up" class="submit" style="font-family: Arial,Helvetica,sans-serif;
                                                            font-size: 11px;">
                                                        <input type="hidden" name="llr" value="a7jdajcab">
                                                        <input type="hidden" name="m" value="1101961209728">
                                                        <input type="hidden" name="p" value="oi">
                                                    </form>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr bgcolor="#FFFFFF" valign="bottom">
                                            <td rowspan="2">
                                                <img src="https://imgssl.constantcontact.com/ui/images/visitor/bl_brdr2_trans.gif"
                                                    width="9" height="9" border="0" /></td>
                                            <td width="152" height="8" bgcolor="#ffffff">
                                                <img src="https://imgssl.constantcontact.com/ui/images/spacer.gif" border="0" width="1"
                                                    height="1"></td>
                                            <td rowspan="2" align="right">
                                                <img src="https://imgssl.constantcontact.com/ui/images/visitor/br_brdr2_trans.gif"
                                                    width="9" height="9" border="0"></td>
                                        </tr>
                                        <tr>
                                            <td width="152" bgcolor="#FFFFFF">
                                                <img src="https://imgssl.constantcontact.com/ui/images/spacer.gif" border="0" width="1"
                                                    height="1"></td>
                                        </tr>
                                    </table>
                                </div>
                                <!-- END: Constant Contact Bubble Opt-in Email List Form -->
                            </td>
                            <td style=" width:20%; vertical-align:top;">
                                <div style="padding-bottom:10px; padding-left:20px; vertical-align:top; text-align:left;
                                font-weight: bold; font-family: Arial; font-size: 11px; color: #FFFFFF;">
                                    Additional Links
                                </div>
                                    <table>
                                        <tr>
                                            <td style="padding-right:20px;">
                                                <div>
                                                    <a href="/ContactUs.aspx" style="padding-left:20px; font-weight: normal;
                                                        font-family: Arial; font-size: 11px; color: #FFFFFF;">Contact Us</a>
                                                </div>
                                                <div>
                                                    <a href="/AboutTMP.aspx" style="padding-left:20px; font-weight: normal;
                                                        font-family: Arial; font-size: 11px; color: #FFFFFF;">About TMP</a>
                                                </div>
                                            </td>
                                            <td>
                                                <div>
                                                    <dnn:PRIVACY runat="server" id="PRIVACY2" />
                                                </div>
                                                <div>
                                                    <dnn:TERMS runat="server" id="TERMS2" />
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                <div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
                <div style="background-color:#124977; text-align:center;">
                    <table style="padding-bottom:15px; padding-top:15px;">
                        <tr>
                            <td style="width:25%; text-align:center;">
                                <div class="TMPWhiteSkinObject" >
                                    3130 Highland Ave. Suite 3255 <br />
                                    Cincinnati OH 45241
                                </div>
                            </td>
                            <td style="width:25%;">
                                <img alt="Technology Medical Partners" id="TMP_Image" runat="server" src="~/Portals/0/White_Logo_small.gif" />
                            </td>
                            <td style="width:20%;">
                                <dnn:COPYRIGHT runat="server" id="dnnCOPYRIGHT" CssClass="TMPWhiteSkinObject" />
                            </td>
                        </tr>
                    </table>
                </div>
 
New Post
9/13/2010 12:24 PM
 
Mike, I'm not convinced this is a bug in DNN (in that case we would have seen a lot more issues in the forums)
Please read this for more tips: http://40f.nl/aaFP33
 
New Post
9/13/2010 12:39 PM
 
Timo,

Thanks for this, it is beginning to make sense.  You're probably right about this not being a bug and it is more than likely a learning point for me.

See this on the link, the Strict and Transitional links are the same.

Mike

How to set the doctype for your DotNetNuke skin?

There are 2 ways to force DotNetNuke to use an XHTML doctype:
A. You can set the doctype for a specific skin by including a doctype.xml file.
The name of this file should be: "skinname".doctype.xml.
So for every HTML / ASCX file you will have to add an XML file.
The content of this file should be:

<SkinDocType>
<![CDATA]<!DOCTYPE>[]>
</SkinDocType>

The <!DOCTYPE> part should be replaced with the HTML doctype you want set.

XHTML 1.0 Transitional:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

XHTML 1.0 Strict:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 
New Post
9/13/2010 12:50 PM
 
Timo,

I realize I've sent quite a bit of stuff, sort of like me being in "verbose mode."  If the doc type xml file were the issue, there is a contradictory fact about this.

The file I sent up to the server on Go Daddy was the original file, which matched the xml doc name.  It still blew up in IE on the server.

True enough, locally copying and renaming the doc type xml file did help but did not fully resolve the issue.  The skin didn't blow up at this point but the rendering of the footer html was not correct.

I'm sure this is a learning point for me.  I'm no skinning guru so I appreciate the help I'm getting.  It will no doubt come down to something as simple as a doc type declaration. :)

Mike
 
New Post
9/13/2010 2:24 PM
 
Timo,

Let me correct part of my last post:

"The file I sent up to the server on Go Daddy was the original file, which matched the xml doc name.  It still blew up in IE on the server."  This means that the file I sent up with the modifications made to it had the original name which matched the doc type xml name.  It ran fine in FF but not in IE, in IE, the Footer Pane of this doc blew up.

I did just validate the HTML on Fire Fox for the working footer and it passes.  Several errors were found in HTML that was sent to us by a company providing newsletter signup services.  This was assumed to have been correct. :)  My bad, however clearing all these errors doesn't repair the issue.

So, the doc type xml file name matches the .ascx file name, html errors are fully cleared using the HTML validator on Fire Fox.  This still blows up in IE.  This could be a Go Daddy issue and I'll have some of their folks look at it shortly.

This could be a DNN bug.  Let me know what you think.

Mike
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Copy/Rename of Skin ascx causes IE to blow upCopy/Rename of Skin ascx causes IE to blow up


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