DotNetNuke Skins and Resources by ThinkofDesign

View Article

Posted by Vasilis on Saturday, February 24, 2007

Two words before skinning 

I don't want to disappoint or discourage anyone but I feel that I have to point out some simple facts about DotNetNuke skinning.

To put it straightaway, when we talk about DotNetNuke skinning we talk about a pretty simple process with a pretty quick learning curve. But the point is that a DNN skin is not just some special tags and content panes. To design and then develop a DNN skin means that you know at least the basics about web design. How to produce optimized graphics using photoshop or any other graphics software, how to code an HTML page and how to apply CSS styles, is essential knowledge someone who wants to create a skin must have. Even further, when someone wants to produce professional and high quality skins, have to be a professional and skilled web designer.

So, before start thinking about how to create your own custom DotNetNuke skin, be sure to ask yourself about your web design skills. If you don't do that, you'll end up thinking that a custom DotNetNuke skin is a very painful process which is not true... not at all.



Comments

woodyg woodyg says:

I agree. My skills at this point are good enough to feel comfortable modifying and existing skin but designing one from scratch, that's going to take some time.

You MUST know html, css and have a good working knowledge of graphics editing to develop any site, especially a DNN skin. I run across so many people who think that because they built a simple web site in FrontPage or took an 8 hour class in html that they are web developers. I've been doing this for 10 years and there is so much that I don't know.

Manuel Manuel says:

True! I find it hard to do DotNetNuke skins, even if I did hundred of html sites already.

Qube Qube says:

I agree. In this day and age, there are few among us who have the time and patience to sort through the DNN documentation to become apt enought to write a skin from scratch. Most people feel more at ease taking existing skins and modifying them to suit their purpose. That said, I found this to be a very arduous process the first time around.

One thing I feel that DNN lacks as compared to other open source ( (PHP based) CMS engines is the availability of "free" content (templates, containers, skins etc..) that can be used as a starting point to understand the various techniques.

Danny P Danny P says:

@ Qube, all DNN installs come with a "default" skin, you can reverse engineer that as a starting point. 4.9 on up using the tableless minimal extropy skin, but 4.8 and below usings a more basic default skin that I used from when I started two years ago with skinning as my template. Even now I still atleast use the default skin's skin.css file and them just handcode from scratch the .aspx files for the skin.

Hundred Visions Guy Hundred Visions Guy says:

I must vent a little here. I have the xhtml & css skills. What I need is a straightforward tutorial on how to develop a skin. I cannot for the life of me find anything helpful. I've registered on 4 different DNN sites, and I still haven't found any tutorial to walk me through the process.

All I really want is a list of necessary files & extensions, what essential tags & information must be included, and sample code. Is that too much to ask for?

Part of my problem is that I only have admin privileges on a DNN site, so I cannot get under the hood like I want to. I admin other sites that have many open source tools, such as Word Press, Drupal, & PHP Nuke, and their documentation tends to be much more user friendly, and...well...open.

What is it about the DNN community that is so obfuscated? Where is the real information?

This website is the perfect example. We have this article on 2 words before skinning. How about a tutorial on skinning itself?

If I ever figure out skinning (provided I don't simply give up), my goal will be to write a tutorial that clearly spells out what files must be included.

If anyone finds an actual guide to skinning, a nuts to bolts guide, please let me know.

Signed,

Frustrated

PS - Thanks, my rant is over and after a few deep breaths, I feel much better

almny almny says:

it's true man
and in my mind it's beter to make any web desginer build your skin

winikkach winikkach says:

An Afterward from Hundredvisionsguy: I didn't give up. I stumbled upon 1 (count it 1) xhtml skin that was free and worked on my DNN site.

I reverse engineered it. I identified the necessary files. I examined the code. I left alone the first set of tags (all of the BREADCRUMB, LOGIN, control tags, etc..

Next, in the *.ascx file, I added some extra divs for applying centering techniques (read CSS Centering: Fun for All at css.maxdesign.com.au for reference), bg images, etc.. I also tried my hand at creating an extra pane.

I then uploaded the skin and applied it to a test page and compared the output to the *.ascx file mentioned above. The div with an id of contentPane (the one with the 'runat="server"' in the .ascx file) became dnn_contentPane on the test page.

Once I figured that out, I applied margins, floats, etc. to all major panes, and it worked, so my CSS had selectors for my panes like so:
dnn_leftPane {}
dnn_mainPane {}
and so on...

I later realized that I could have just as easily surrounded all runat=server divs and applied my CSS to the surrounding divs.

I also tested out the '@import url();' method on the stylesheet since I couldn't add a link tag in the head. It worked.

Yay!


Name (required)

Email (required)

Website

Enter the code shown above: