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, ...Skinning for beginnerSkinning for beginner
Previous
 
Next
New Post
5/18/2010 5:23 AM
 
Hi

I'm new to DotNetNuke and so far have been quite impressed by what it is and can do. However I'm trying to get my head round createing skins and am just getting more and more confused by it all!

I've been working with Version 5 which I gather is quite a new release that changes the way you have to package skins. I'm hopeing that some one out there will be able to answer the next few questions that will help ease my confusion.

1. When createing a Skin in HTML do you include the HTML, Body, Title, and Link tags, if not can you style the page background etc?
2. Do you put in a link to the CSS page in both an HTML skin and a ASCX one?
3. Am I correct in assuming that the skin package is called what I want, but needs to contain zip package called Skin, which contains a css file called for example myskin.css, an HTML file called myskin.html, and an xml file called myskin.xml.
4. Do you have to add a container file, and if so am I right that it needs to be called container.zip which is made up of mycontainer.html, mycontainer.css, and mycontainer.xml?
5. Can the skin CSS style the body of a page?
6. If I was makeing a skin using ASCX and VB do you have to compile this or just create the page, also does the VB go in a code behind page or on the ASCX page?
7. Are the Tokens used in HTML case sensative?
8. In the XML files are the elements case sensative, and is there any documentation for this?
9. In version 5 I believe there is the ability to use and XML file to basically describe the Skin for versioning etc is there any information about what this is called and which file should it be zipped into?
10. Does it have to be a table layout, or can I use Divs, and if for example I have a div with an ID="mydiv" would the css be #mydiv{background-color:white}. I've also read that you have to make certain elements visible=false, is this something you have to do when building a ASCX skin, or does it have to be done in an HTML one as well, in which case how do you do it?

Apologies for all the questions, hopefully someone will be able to answer these for me :-)

Thanks Ross
 
New Post
5/18/2010 6:44 AM
 
Hi Ross,
I will have a go at helping you out.

1. When designing your skin you can leave the HTML as a full page <html> to </html> the skin parser will rip out the guts between the <body> tag.

2.You can have a link to your skin.css file in design but you need to package it in your zip file when you deploy.  DNN adds a ref link when the skin is loaded.

3.DNN uses a few defaults but using MySkin.* will also work

4. You do not have to have a container file.  The Container file follows the same convention as Skin.

5. Yes

6. Skins can have functionality using SkinObjects, Scriptlets, etc.  The Skin ASCX does not have VB/C#/F# code and is not compiled.

7. Not sure, but If you keep them upper case it is more easy to read. (personal)

8. You can find documentation on DotNetNuke.com

9. As above and look at the Skin Contest downloads.

10. Up to you but DIV's are lighter.  It is your own flavour.

I hope this shines some light and happy skinning!

Leigh Pointer
User Group Champion [World Wide]
» Evangelising DotNetNuke Everywhere «

Nederlandstalige DotNetNuke Gebruikersgroep Subzero Solutions ARC for DotNetNuke Design is the craft of visualising concrete solutions that serve human needs and goals within certain contraints. Visulising concrete solutions is the essence of design.
 
New Post
5/19/2010 11:23 AM
 
Thanks for answering those questions it certainly helped. Now I have a couple more. When adding the Xml files for skins and containers do you have to include all the settings for each Object, or was I right to assume you only need to include settings you actually want to change from being the default?

Also it took me a few attempts to get the zip files in the correct names etc and I have some skins added that don't have any skin files included. However I can not find a way to get rid of these, there is no uninstall option available in extensions?

Thanks
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skinning for beginnerSkinning for beginner


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