Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

$4.95 Windows Hosting at Webhost4life.com
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  The base of skinning
Previous Previous
 
Next Next
New Post 3/23/2008 10:20 AM
User is offline David
6 posts
10th Ranked


The base of skinning 
Hi, Maybe this has already been asked, but I couldn't find it. Have I understood correctly that a skin is just a HTML page (with a style sheet) and where you want to put for example a contentpane, you put [CONTENTPANE]? And if you have a menu that you want to show on every page, do you put it in the skin or do you put [MENU] in your skin? Thanks.
 
New Post 3/23/2008 12:09 PM
User is offline Josh Martin
150 posts
www.dnnreactor.com
9th Ranked


Re: The base of skinning 
Hey David, You're on the right track for sure. There is a little more to it than that. I'm not sure if you are familiar with .ASCX or XML, but I'm going to give you a quick explanation in case. this should make it much more clear as to what is happening. When I think of DotNetNuke skins, I don't really consider the HTML page a skin at all. It's more, the tool you use to tell DotNetNuke HOW to make the skin you want. The skin that DNN uses is actually an .ascx file. You don't need to know anything about ascx files at all, so don't get nervous if it sounds strange :-> Basically though, in an ascx file there are tags just like HTML, and some special tags that cause all kinds of neat functions. In HTML you would write something like to change a font color. You do the same in ASCX(by the way, ascx is what .NET is about...kinda). So in the DotNetNuke world, the folks who so generously build us this great package to use, created "controls" or prewritten little chunks of code to handle things like logging in and out, displaying dynamic content. these codes are more ascx files. Most of us know html best, and xml isn't hard to figure out. So lets say, you want to display a menu, the creators of DotNetNuke made it already(we'll just say they did, or someone who loves them did :->). Anyhow how to do you tell the menu to display horizontal or vertical? If you were writing an ASCX file, you problem guessed it already, you'd do something like (don't try that..it won't work..just making a point). But you know already, we need to use a token in the HTML file. the token can be [MENU] [NAV] OR [SOLPARTMENU] or any third parties you wish to install. So...how now do I tell DNN that it's horizontal or vertical??? it's not a standard tag is it? The method is simple, and the reason is even better. you put the "settings" for the tokens in an XML file. Take a look at the blue skins that came with your DotNetNuke. You'll see xml, ascx, html, and some other junk. Open up the XML file and read it line by line. you'll notice somethign cool. Standard settings that you'd need to type in every skin are there. it's easier to write in HTML, and reuse your XML file for many skins, rather than write the whole thing in ASCX and try to remember all your settings every time. This is what is so great about how dotnetnuke is structured. The creators and community made things work so that our job is easy, if we just have a little patience and try to understand what looks strange at first. So... You are right, you create the HTML file, using tokens, then you create an XML file of the same name with the specs for your tokens. Be sure to save your first .xml file so you can reuse it in other skins, or just copy the blue one, and tweak it a bit. When you upload your skin package, DNN will "parse" it, and make the tokens into the proper tags automatically, if you have all your files correct. You're gunna love it! Josh
Josh Martin
 
New Post 3/23/2008 12:09 PM
User is offline Josh Martin
150 posts
www.dnnreactor.com
9th Ranked


Re: The base of skinning 
Modified By Josh Martin  on 3/23/2008 3:15:13 PM)
Hmmm.
Safari, FCK, goofie in the rich text editor. using basic text now.
sorry for the excess duplicate posts.


Josh Martin
 
New Post 3/24/2008 5:31 AM
User is offline David
6 posts
10th Ranked


Re: The base of skinning 
Hi Josh, Thank you very much for your reply. I'm afraid I haven't understood all of it yet. Tell me where I'm wrong: I have to make a HTML file, this is where I tell how big the tables are and stuff. Then the CSS, where I tell which font and size and these things. I know how to handle HTML and CSS. Then, I read in the DNN Skinning guide of this site that when I upload the skin the processer makes the ASCX file itself. Do I have to make an ASCX file myself? Unfortunately I haven't got access to the portal yet, but I'll try to solve this (I can explain why if you wish but then I'd rather do that via email). So in the XML I put the settings for the tokens? Anyway, I'll see that when I get the standard XML file. Already many thanks, David
 
New Post 3/24/2008 8:07 PM
User is offline Josh Martin
150 posts
www.dnnreactor.com
9th Ranked


Re: The base of skinning 
nope. You DO NOT make an ascx file yourself. You're on the right track..just make the HTML file, and the CSS file. put the tokens [MENU] etc where you want the dynamic DNN content to populate. When you do all that...then you can make a XML to change settings on the [tokens].

Let us know when you get the HTML/CSS done and we can help you with the tokens specifically. it'll all start to fall in place and make sense soon enough.



Josh Martin
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  The base of skinning
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


T-WORX, INC.
Professional DotNetNuke Solutions
www.t-worx.com
AppTheory
Professional development for medium to large projects based on the DotNetNuke platform.
www.apptheory.com
OnyakTech
Modules for Help Desks, Live Chat, Project Management, CRM, Charting, Reporting, Scrolling Text/Images, Portal Community tools and much more.
www.OnyakTech.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP