Skip Navigation LinksHome > SSW Standards > Rules > SSW Rules to Better DotNetNuke

There was an error displaying the testimonials. Please report this error to SSW and include the following text:
- A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

   

Do you agree with them all? Are we missing some? Let us know what you think.

  1. Do you know the pros and cons of DotNetNuke?

      The Pros of DotNetNuke are:
    • It is the largest and most successful open source project in the Microsoft ecosystem
    • It has the largest commercial 3rd party market for a .Net CMS
    • The #1 most widely-deployed .Net based CMS
    • Widely adopted and supported by Microsoft
    • It's free! (but also has fully supported commercial versions for more serious organisations)
      The Cons of DotNetNuke are:
    • It's not based on MVC like Orchard. Note that this may not be a con for your organisation.
    • It is missing some enterprise features like those in Sitecore, EpiServer and SharePoint.
  2. Do you have your new developers go through the SSW DotNetNuke Induction training?

      There are lots of DNN resources at www.dotnetnuke.com. There you can:
      • Get latest download
      • Read latest User Guide
      • Get 3rd Party Modules
    1. Go through the Self-Guided Tour Guide (only 14 pages) for an introduction
    2. and peruse the DotNetNuke Wiki for answers to specific questions you may have.

    Lorraine Young's comprehensive user guide is great. However it is too much (350 pages) if you just want a developer to understand a basic operations and get some handy tips in DotNetNuke. So instead you can use DotNetNuke Induction training site.

    The site is designed to get you up and running with DotNetNuke. It is a collection of numerous tutorials, training videos, 3rd party tools, handy tips and resources. It is also our central repository for all DotNetNuke custom modules and skins. So once you create one, remember to upload it there.

  3. Have you installed the latest DNN version?

    You can check your DNN version via the "Host Memu", then "Host Settings" and tick the "Check For Upgrades" check box to see the latest version

    Figure: Bad Example - A new version is available, DotNetNuke needs to be upgraded.
    Figure: Good Example - Latest version is now installed.

    It would be nice if DNN version can be checked by Better way of cheking DotNetNuke version on 'DotNetNuke Suggestions'.

  4. Do you always update the DotNetNuke style sheets to underline a link?

    As per Rules to underline all links on "SSW Rules to Better Websites - Navigation" always update the necessary DotNetNuke style sheets to make links perfectly clear, by underlining them.
    To underline links in DotNetNuke you need to change the styles in the style sheet Portals/_default/default.css

                            
    		                A:Link
                            {
                                text-decoration: none;
                                color: #003366;
                            }
                            A:Visited
                            {
                                text-decoration: none;
                                color: #003366;                   
                            }
                            A:Hover
                            {
                                text-decoration: underline;
                                color: #ff0000;
                            }
                            A:Active
                            {
                                text-decoration: none;
                                color: #003366;
                            }
                            
    Figure: Bad Example - The default style does not underline all links
                            A:Link
                            {
                                text-decoration: underline;
                                color: #003366;
                            }
                            A:Visited
                            {
                                text-decoration: underline;
                                color: #003366;                   
                            }
                            A:Hover
                            {
                                text-decoration: underline;
                                color: #ff0000;
                            }
                            A:Active
                            {
                                text-decoration: underline;
                                color: #003366;
                            }
                            
    Figure: Good Example - The style now underline all links

    Go to SSW <-- Not Good

    Go to SSW <-- Good

  5. Do you know DNN can update the schema of your database without warning?

    If you point your DNN application at another database on an earlier version of DNN, it will update the database to the latest version without warning.

    Suggestion to the DNN team: Don't do this without a warning. Even better, use SSW SQL Deploy

  6. Do you know how to upgrade DNN to the latest version?

    If there is an upgrade available (see "Have you installed the latest DNN version?" ), follow the following steps to perform the upgrade.

      In Preparation:
    1. Back up the DNN database
    2. Back up all website files
    3. Check your database and website backups!
    4. Download the latest DotNetNuke upgrade package a. From the www.dotnetnuke.com site. You may need login credentials if you are using a non-community version of DNN.
      or
      b. Click the "Upgrade Available" button that appears when you are *not* running the latest version (see "Have you installed the latest DNN version?" ).
    5. Create a basic html document called app_offline.htm. This page will be shown on the site while you are doing the upgrade.
    No maintenance page
    Figure: Bad Example - No maintenance page. Users may see errors while the site is partially upgraded.
                    
                    Site Maintenance
                    
                    This site is offline for routine maintenance. Please check back later.
                    
                                
                  
    Figure: Good Example - HTML page to let users know the site is offline.
      To Perform the Upgrade:
    1. Upload the app_offline.htm file to the root web folder for the site.
    2. Navigate to the site in a web browser and check that the app_offline.htm file is shown instead of the usual default page.
    3. Copy the contents of the latest DotNetNuke upgrade package over the top of the existing files. All files should be copied because the package should only contain generic files ?no configuration files.
    4. When the copy is complete, rename the app_offline.htm file to app_offline.htm.save. When you navigate to the site, you will see a new construction page:
      Remove underline
      Figure: Good Example - Latest version has been copied and site is unavailable (suggestion to DNN team: remove the underline from the non-link).
    5. Access the /install/install.aspx?mode=upgrade page (e.g.www.mysite.com/install/install.aspx?mode=upgrade) using a web browser. The site will begin an automatic upgrade process:
      Automatic upgrade running
      Figure: Good Example - Automatic upgrade running.
    6. On completion of the upgrade, you will see the following message at the bottom of the page. Click on the link to return to the site.
      put an underline under the link
      Figure: Good Example - Automatic upgrade completed (suggestion to DNN team: put an underline under the link).
    7. Click through the newly upgraded site to perform a smoke test.
    8. Log in to the DNN site and navigate to "Host", then "Host Settings". You will see that the site is running the newest version of DNN and that there are no upgrades available.
      Latest version and no upgrades available
      Figure: Good Example - Latest version and no upgrades available.
 

Acknowledgements

Damian Brady Adam Cogan
Zune Vien


Benefit from our knowledge and experience!

SSW is the industry leader in Custom Software Development, Software Auditing & Developer Training.

Call us on +61 2 9953 3000 or email us for a free consultation

What does it cost? I’m not in Australia. Can you still help?