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 HelpSkinning Help
Previous
 
Next
New Post
9/4/2010 11:35 PM
 
So I recently started looking at DotNetNuke as a CMS for my website development and Ive been doing some reading all day about the whole skinning aspect of it and I had a couple questions.

Q1. So from what I understand and be sure to correct me if i'm wrong. When developing a skin in Dotnetnuke its always a good idea to create your site as an html site with all the content then cut it up to suit. 
So you create a skin which essentially is the Layout for the site then you create containers which I believe is a placeholder for a module? So basically if i design a website and i know i want a news feed to be in a particular place i should create a container called news and style it how i want and that would be my container correct?

Q2. So i have my website the content between the body tags is what makes up the skin file which can be acsx or htm. Css is placed in a separate file to be loaded. What about JavaScript? where does that go? If i wanted to add flash content to my site where do i include my JavaScript files.

Q3. From what i read having the contenPane is mandatory to the for your skin. Is there anything else that is mandatory to create a skin? Or is it simply a Skin, a container and style sheets?
 
New Post
9/5/2010 4:06 AM
 
Hi, welcome to the family ;-)

Q1. Not completely right.
-A pane is a the zone in a skin you can add modules to (one or more).
-In the Pane a module will be wrapped inside the container, which normally contains the module title, the links for editing etc.
But you can also add a module to a pane and switch off the container, in that case only the content of the module would be visible.

Q2. A dnn skin adds a few standard CSS files, based on their name. Skin.css, "Skinname".css , Container.css.
So your not free to choose the name of the css files.
Adding javascript to the head is not possible by default unless you use some code or this http://dnnskinextensions.codeplex.com...
For now I would just add them just blow the body tag, which works fine.

Q3. No that's it I think, but you should realize that the default legacy doctype is HTML 4 transitional.
If the HTML skin is converted to ASCX (which is the actual skin) the doctype of the HTML file is ignored.
There are two ways to set the doctype, read my post here:
http://www.dotnetnuke.com/Community/F...

 
New Post
9/6/2010 11:22 AM
 
Ok so i think i understand most of what you said. Im still confused on how to insert JavaScript into my skin are you saying my options are to use the module u gave me or to put the link tag at the top of the page? Any who I created my first skin and for the most part it is working fine. I think i understand the whole Container vs Skin so thanks for the clarification. Right now i need to do some research on how to style the tokens such as the menu and search then learn how to create modules. If i run into any more problems i will be sure to post but if someone could clear up the whole JavaScript issue that would be appreciated. 
 
New Post
9/6/2010 5:30 PM
 
simply add the js just below the body tag
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skinning HelpSkinning Help


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