Software Tutorials

Here's an updated version of a blog post that Chris Hammond has posted a couple of different times over the past 13 years.

Upgrading DotNetNuke is actually fairly easy, you can do so with ease in most cases, though occasionally you may run into a problem or two. If you follow the steps below you should be able to recover from any issues and get your website back up and running in its original state.

If you're looking for a quick and easy way to change the background on your Windows 10 computer, be sure to check out this simple tutorial.

If you’re running a DotNetNuke (DNN) based website, and you’ve wondered how to embed Google Adsense into your site, this tutorial is for you! There are a couple of options for adding Google Adsense code to your page, we’ll go through easy ways to do this.

  1. You could buy a module from the DNN store, but that’ll cost you $$$, why pay for something when you can do it for free?
  2. You can add it to a page with the HTML Module
  3. You can add it to a page using the Razor Module
  4. You can embed it into the Module Settings of ANY module on a page
  5. You can embed it into the Skin/Theme/Design of your pages.

This is a tutorial, or bug fix, about a problem that has occurred within our Project templates for a long time, but it is not a problem that we’ve been able to track down a 100% preventative solution for.

After creating a module using our Template in Visual Studio, the next time you go to Load the website in a browser, you may run across a very generic and unuseful error. The site will fail to load, and you will see a Generic error message in the URL, something along the lines of:

&error=An%20unexpected%20error%20has%20occurred&content=0

With the V7.0 release of the DNN project templates, you can now "customize" your projects upon creation using our Wizard Interface. Check out this tutorial for details on the items you can customize

In Upgrading to the latest Beta release of ActiveForums (currently 6.2.8) I found that the "Theme" I had running on SCCAForums was old and outdated, and using HTML Tables for layout (gasp!). 

In order to get the new Bootstrap theme going I had to remove the theme I was using, and change a few settings.

For some reason, every once in a while one of our ActiveForum websites seems to “lose” settings that have been applied to it, and reverts back to setting we don’t necessarily want configured for the site. This morning we ran into such a problem, likely related to the upgrade we did last week on the site to 6.1.5.

In order to use the DNN Theme Project template (new with the 4.0 release of Christoc’s development templates, January 2015), you will need to follow the steps laid out in this tutorial exactly. If you choose to not follow each of the steps, you may run into trouble and will have to figure out things on your own. As always, support for our tutorials is provided in the form of paid DNN Support and Consulting. You can also visit www.dnnchat.com and possibly get some free support there, but no guarantees are made that support will be provided there.

I must admit, the work I have done over the years with DotNetNuke has involved working with modules that I control, build, and have a say in. I am set in my ways of how I like to do things, and believe that my approach to DNN module development is one of the easiest approaches to the DNN platform, because of this I have put a lot of time and effort into my Module Development Templates.

Occasionally I come across other people’s modules in my consulting work, and it tends to frustrate me when I have to do things outside of my own little “perfect module development environment”. I want to be able to switch to “Release” mode in Visual Studio and build, and have the scripts package the module I am working on so that I can easily deploy it to a customer’s development or staging environment. I had just such an experience this evening, working on customizing a module for a customer, and they had the Source to a third party module that I needed to make changes to. There is no packaging or build process anywhere inside of this module, even to the point where there are missing files in the “source” project itself.

With the new "Advanced" UrlFormat option in DNN 7.1 you might run into problems if your old website was using any URL Rewriting that replaced Spaces with anything other than a hyphen. If you want to replace the Hyphen with something else, such as an Underscore, than you can follow the directions in this tutorial. You will need to "override" the URL settings in DNN 7.1 to add additional options. In the DNN Platform, you have to do this manually, via the database, I believe the EVOQ ($paid$) versions have a UI for this, but for those of us who focus specifically on the open source platform, you need to make manually update database entries to customize the URL handling in 7.1+.

You'll want to add a HostSetting (or portal setting if you wish, but I won't provide the SQL for that) that defines the AUM_ReplaceSpaceWith setting. Here is a sample SQL script that will do that. (as always, run at your own risk, backup before executing, I'm not responsible for you screwing up your website).

Want to see a tutorial?

We've been writing tutorials for DotNetNuke and ASP.NET for years, but now we're bringing all new content to you under the Christoc.com banner. Stay tuned as we create new content, written tutorials, video tutorials, and even sample code/projects to help you in your development journey.

Is there a Tutorial that you would like to see? Drop us a line on the Contact page to let us know.