Geeks With Blogs
Brian Scarbeau Insights from a seasoned Computer Science Trainer
This week my students were learning how to create a new container for their dotnetnuke site and how to skin as well. Creating a container requires students to create a css file that includes the font, family style and color of the heading that they want. .CompSciContainerTitle { font-weight:bold; font-size:200%; color:#339933; } An html file is then created which includes An html file is created which includes:
[SOLPARTACTIONS][TITLE][VISIBILITY] these are dotnetnuke tokens. An xml file is then created that will handle the tokens. [TITLE] CssClass CompsciContainerTitle All three files get zipped and then get uploaded to the dotnetnuke site. You can select the new container and use on any page. There are many free containers and skins that designers will share. You can google free skins to locate them. I teach my students how to create skins the html way. You can create .ascx files and modify the existing skins that comes with dotnetnuke for more advanced students if you want but the html way is much easier. To create a skin you need to create the html file similiar to what was done for the container. Placement of tokens is important as to what you want your user to see and work with. The css file that I normally use is the default css that comes with dotnetnuke. Go to admin settings and scroll down to cut and paste the default css. Finally, an xml file is created like what was done for the container. All in all, many of the students understood the lesson and were on their way to creating containers and skins in dotnetnuke. Posted on Tuesday, November 14, 2006 1:38 PM Teaching with ASP.NET , DotNetNuke | Back to top

Copyright © Brian Scarbeau | Powered by: