HomeHomeUsing DotNetNuk...Using DotNetNuk...Skins, Themes, ...Skins, Themes, ...dnn 440 new skindoctype in default.aspx - how does it work?dnn 440 new skindoctype in default.aspx - how does it work?
Previous
 
Next
New Post
12/25/2006 8:29 AM
 

just installed the new dnn 440, looks great! Thanks all the team

I'm very interested in accessibility and I noticed the SkinDocType variable in default.aspx.

I think any web designer can define the DocType in the skin... (if I understand) 

but how does it works?

Thanks
Luca


siti internet in provincia di cuneo torino savona asti
Siti e applicazioni Web
 
New Post
12/26/2006 12:45 PM
 

The DocType header is actually defined by default in the default.aspx page which serves all the other elements like your description, key words (which you can set in dnn per page)

By having this flexibility you have backward compatibility in the look and feel of the skins and independence on multiportal installations, so that if you've got a bunch of skins that require XHTML & Strict header types, you can use them without affecting any other skins in your site or subsequent portals.

This is basically a move forward to providing more compliancy and backward compatibility - allowing the designer more choices.

Does this help give more outline.

Nina Meiers


Nina Meiers - Professional, Ethical & passionate about DotNetNuke
Download over 150 FREE DotNetNuke Skins here. Join our FACEBOOK Page

XD Design - xd.com.au by Nina Meiers
 
New Post
12/27/2006 2:50 AM
 

Thanks for your answer Nina.

I'd like to start working immediatly with a new skin that uses the XHTML doctype. Is there an example of a skin code or any documentation?

Bye
Luca

 


siti internet in provincia di cuneo torino savona asti
Siti e applicazioni Web
 
New Post
12/27/2006 6:52 AM
 
I understand what Doctype is and that it is now configurable...but how?  What do I need to do to set the DocType for my skin?
 
New Post
12/27/2006 7:27 AM
 

I haven't installed 4.4 yout so my best guess is:

Try adding a doctype def e.g.:

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

in the top of your HTML skin file. The skin parser will probably pick it up and convert it to a ascx file. THen in your ascx file you can check how the property is used.

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
Previous
 
Next
HomeHomeUsing DotNetNuk...Using DotNetNuk...Skins, Themes, ...Skins, Themes, ...dnn 440 new skindoctype in default.aspx - how does it work?dnn 440 new skindoctype in default.aspx - how does it work?