default.aspx files updated for CSS skins
Last Post 08/24/2006 8:01 AM by Lee Sykes. 2 Replies.
Author Messages
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
05/12/2006 2:28 AM
    We have updated a line of code within the default.aspx files for switching DotNetNuke to operate in Standards Compliance mode when working with CSS based skins.

    We have added to the html tag, xmlns="http://www.w3.org/1999/xhtml"

    This ensures full compatibility with all versions of DotNetNuke and all browsers. - This was raised to my attention by Lucien Taylor who came across a problem using the old default.aspx file with DNN4.0.3, so thanks Lucien.

    You can download the new default.aspx files for DNN3.x and 4.x from the tutorial:
    Browser Quirks, Standard Compliance modes and Doc Types

    or from the free Simple Red Leaf CSS skin page.
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    Mike Harrison
    Nuke Newbie
    Nuke Newbie
    Posts:1


    --
    08/24/2006 6:27 AM

    Hi,

    I have two questions regarding XHTML compliant DotNetNuke.

    I am using DNN 4.3.4 and after changing the default.aspx the self closing meta tags are changed in browser html from this -
    <meta id="MetaDescription" runat="Server" name="DESCRIPTION" />

    to this:
    <meta id="MetaDescription" name="DESCRIPTION" content="Your Description Goes Here">

    Please note the removal of self closing tag. Therefore, a validation error is shown by W3C Markup validation. Does anyone know the reason behind it or how to solve the issue??

    Another question is the Solpartmenu seems to be working after change in document type. Is that supposed to do that now??

    Many Thanks
    Arif Shah  

    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    08/24/2006 8:01 AM
    The default.aspx file for DNN 4.3.4 that is available from here
    Browser Quirks, Standard Compliance modes and Doc Types

    enables you to setup DNN to operate in Standards Compliance mode. - However it doesn't make DNN validate.

    There are several areas where DNN needs to be adjusted to make it validate, including core code and module code changes.

    I have made DNN V3.x validate, but I haven't looked at DNN 4.x yet.

    I suspect the problem is set from the default.aspx.vb file - I would have a look at the code in there.

    Yes the new version of Solpart that comes with DNN 4.3.4 now works in XHTML transitional mode.

    Thanks,
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile


    ---