DotNetNuke Tips #1 – Module Header and Footer

Using DotNetNuke effectively takes time in learning how to best use the tool.  One common mistake that many new administrators of the framework make is to place an html/text module above or below another module that they have on a page. Although to make the page more maintainable each module has some options in the settings that we can use to insert html/text.

menu

So if we select the settings in the action menu for the module and then once we get to the module settings page expand the plus sign next to the Advanced Settings we will see the following:

AdvancedSettings

As you can see we have the options for a Header Text and a Footer Text, both of these fields are ntext fields in the database that houses them.  Therefore, we have an unlimited number of characters that can be placed within these two textboxes for displaying above and below our module.

The only thing is that these are not WYSIWYG editors to enter the text in but at least it saves the addition of two more modules on the page that would increase the load time of the page.

Hope this tip saves some use of text modules and better use of the framework.

Posted on 5/1/2010 12:18:59 AM by omacdon

Permalink | Comments (2) | Post RSSRSS comment feed |

Categories: DotNetNuke | Programming | Skinning | Tips

Tags: , , ,

Skinning in DotNetNuke Part 1 of 4

As DotNetNuke has grown and aged the methods of skinning for the framework have continued to age and improve.  With the pending release of version 5.1 of DNN about to happen, I thought it would be nice to put together a series of blog posts about the methods and types of skinning options available.

The options for skinning DNN have grown considerably since version 1.0 of the product. With 1.0 you had to actually change the skin within the codebase and it wasn’t a very easy task at the time. 

When 2.0 was released, one of the important features of that release was the ability to easily update and change skins.  At least if my memory serves me correctly.  I know by the time 3.0 was released skinning had been basically standardized in how it was going to be accomplished.

At this point forward till the release of the 5.0 product, not a lot had changed in how skinning was done within the framework. We had two options when it came to skinning, I’m going to call the two methods we had up to this point the web designer way and the the web developer way.

Let me explain what I mean, the web designer way consisted of using html, css and xml files to provide the markup, style sheet information and the xml file tied them together with the skin objects that were available within the framework that it was being installed on.

The web developer way consisted of using ascx and css files to accomplish the same thing.  The main difference is that as a web developer, the properties of the skin objects were placed within the ascx file instead of the xml file.  The other main difference is that using the ascx and css file combination the file wasn’t changed when it was uploaded to the framework. 

With the release of version 5.0 of the framework, there was an introduction of a 3rd method of creating skins with the use of skin widgets.  As well as some new methods of packaging up your skin for public release has changed with the new version.  We still have support for the older way of packaging up skins in zip files without an xml manifest, but there is a new way that allows us to provide more information as well as the ability to write release notes and to provide a license for the use of the skin.

Over the next several blog posts I will go into detail and build a skin that will take will be the same but built in the three different ways that we have available.  As well as a post about the new method of packaging up a skin for the latest release of the framework.

Posted on 6/16/2009 12:56:28 PM by omacdon

Permalink | Comments (0) | Post RSSRSS comment feed |

Categories: Skinning | Software | Themes | DotNetNuke

Tags: , , ,

DotNetNuke Skinning 101 - Home

For anyone that is having trouble Peter Schotman of interApps has created a basic skin to help people understand skinning within the latest version of DotNetNuke 5.0. 

It is a basic skin from looking at the zip file.  It has the Manifest file for use with DNN 5.0 and contains two skin files and 4 containers within the setup file.

It does not make use of the new widgets in the skin files, but the files are ascx files and not the html/xml combination files that some people are used. It does give a good base for the Manifest file though.

DotNetNuke Skinning 101 - Home

Technorati Tags: ,

kick it on DotNetKicks.com

Posted on 1/24/2009 5:20:21 AM by admin

Permalink | Comments (0) | Post RSSRSS comment feed |

Categories: Skinning | DotNetNuke

Tags: ,