IMI Software can help you define, develop, and deploy your online presence.
Call Today: (855) 464-2007 | Email Us

The IMI Blog

22
Upgrading to DotNetNuke 6 | Issues and Resolutions

I recently upgraded a staging site to DotNetNuke 6.0 from DotNetNuke 5.6.3. All in all things went very well but there were a few issues I encountered specific to the configuration of this particular site. I suspect these scenarios are not all that uncommon so I wanted to share them in this post in case anyone else encountered something similar.

URL Master by ifinity

This particular site is using ifinity’s URL Master. As stated in Bruce Chapman’s blog post, you need to upgrade URL Master to version 2.4.3 prior to upgrading your site. As a test, I didn’t upgrade and sure enough the upgrade failed. Not that I didn’t believe Bruce – he’s the authority on URL rewriting - I was just curious as to the result if I didn’t upgrade URL Master first. So, if you are using URL Master on your site, upgrade to URL Master 2.4.3 prior to upgrading your site to DNN 6. Once I did that, the upgrade went smoothly.

DDRMenu

The DDRMenu by DNNGarden is the new default menu provider for DNN 6. It’s a great menu provider that we use often and this site was no exception. However, the simplest approach was taken when implementing the menu on this site. All I did was upgrade the DNN NAV Menu to the DDRMenu by replacing DNNMenuNavigationProvider with DDRMenuNavigationProvider in the providername attribute in the navigation declaration in the skin.

changed  <dnn:nav providername="DNNMenuNavigationProvider" ... /> 
to             <dnn:nav providername="DDRMenuNavigationProvider" ... />

So, what was the problem? After the upgrade the menu did not display. DNN 6 includes DDRMenu version 1.99.05. I checked the DDRMenu CodePlex page and there was a new version available for DNN 6 - DDRMenu 2.0.0. I installed that version and the menu displayed and functioned properly without doing anything else.

DotNetNuke.RadEditorProvider

Another new feature of DotNetNuke 6 is the implementation of the dnnWerk RadEditor Provider as the default HTML editor provider (it’s called DotNetNuke.RadEditorProvider in DNN 6). We use this HTML provider on a number of our client sites and highly recommend it. The site that I was upgrading however did not have it installed but I did want to implement it. The issue is that the DNN 6 upgrade package does not include the install package for this provider. After the upgrade the editor wasn’t available. I assume that’s just an oversight and will be included in later versions, but either way it’s not hard to resolve. The solution? Easy, just download the DNN 6 install package and in the Install/Provider folder you’ll see RadEditorProvider_06.00.00_Install.zip. After you install this module you will see a new Host menu item named HTML Editor Manager. There you can enable the provider and configure it to your liking.

Conclusion

Other than having to upgrade a couple of modules for DNN 6 compatibility I encountered no other problems with the upgrade. DotNetNuke 6 is a great upgrade and as a general rule I’ll continue testing before upgrading any production sites but so far so good.

About IMI Software, Inc.

IMI Software, Inc. is a DotNetNuke Web Design and Development and Internet Marketing Company providing quality web solutions to small, medium and large businesses, Not-For-Profits and Corporations throughout New York, Queens and Long Island. We are a DotNetNuke Certified Partner and provide a diverse array of services designed to meet the specific business needs. We specialize in website design and development, search engine optimization, social media integration, internet marketing, ecommerce solutions, intranet and extranet development, print marketing services as well as SEO and social media consulting and training.

Posted in: DotNetNuke
Share |

Comments

# L W Brown
Thursday, July 28, 2011 12:24 PM
Came across this post after having issues with an upgrade to 6.0 - thanks for posting this useful info!

However, I am not certain that I understand the concept of the DDRMenu - it is listed as a module in my modules dropdown! How in the heck can I use that as the default menu if it is installed as a module?

I changed the nav providername as you stated above and sure enough the menu disappears. I have downloaded the v2 but am not sure where to instal the files to as it is a module but I also see 2 of the DLL's in other bin locations of my app directory.

Any guidance would be MUCH appreciated.
# Vinny Malanga
Thursday, July 28, 2011 2:25 PM
The DDRMenu is an installable module so you can use it on a page like a typical module if you would like.

However, in this instance just install the DDRMenu v2 like you would install any other module. Host --> Extensions. Then, see if the menu reappears. You don't have to place it on a page, just run through the install process.

Please be sure to let me know how it goes.

# L W Brown
Thursday, July 28, 2011 2:55 PM
Yes - that worked. Thanks! But this is rather weird (to me anyways) updating the menu as a module. Not sure how placing it on a page as a module would be useful, all I was trying to accomplish is for it to be the default menu in my app, which is what I have now, regardless of whether or not I am using the module on a page (again, weird)

I did however place an instance of the module on one page to check out the menu settings, but without any help file to guide me, it is rather useless. I'm sure that many others will feel the same way. I suppose it could come in handy as a secondary menu on a page.
# Vinny Malanga
Thursday, July 28, 2011 3:54 PM
I'm glad your issue is resolved. Installing it as a module makes it easier to install all of the necessary components of the menu system. The DDRMenu is a very powerful and flexible menu provider. It's template based so you have quite a bit of styling flexibility. You can create XSLT templates, Razor templates and token based templates.

Take a look at the module folder under DesktopModules on your site and you can see the many files installed.

You can get quite a bit of information about the menu on the DNN site and on www.dnngarden.com.
# L W Brown
Thursday, July 28, 2011 4:08 PM
Thanks again!

So are you saying that any settings defined in one instance of the module will be delivered sitewide if the skin is set to use the DDR menu provider?
# Vinny Malanga
Friday, July 29, 2011 8:00 AM
In short, yes. However, there are a couple of ways to utilize this menu. What we are doing here is simply upgrading the DNN NAV by replacing the providername attribute like so:


with


In this instance the styling is defined in your skin css file. In most cases all it takes it just to replace the providername. Do this in all of your ascx files and that should be all you need to do.

The other and much more flexible way to use this menu is to register the control in your ascx file. This is how it's done in DNN 6:

<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Web.DDRMenu.TemplateEngine" Assembly="DotNetNuke.Web.DDRMenu" %>

<%@ Register TagPrefix="dnn" TagName="MENU" src="~/DesktopModules/DDRMenu/Menu.ascx" %>

Then you can use the menu like so:



Notice the MenuStyle attribute. This represents the template to use for this instance of the menu. You can download a few from the DDRMenu codeplex page to get started - http://dnnddrmenutemplates.codeplex.com/

MenuStyle is the only required attribute but there are many more options you can use. Have a look through http://www.dotnetnuke.com/Resources/Wiki/Page/DDRMenu-user-guide.aspx for detailed explanations.

You can create as many templates as you need for your skin. For instance maybe one for the publich facing pages and one to match styling that you'd use for secured or admin pages. All you would need to do is replace the MenuStyle to the one you want to use.

Also, take a look at the DarKnight skin in DNN6. You'll be able to see just how all of this comes together so to speak.

I'm glad I could be helpful.
# Vinny Malanga
Friday, July 29, 2011 8:03 AM
Sorry, my code fragments were stripped out.

You can see how to properly declare and utilize all of the DDRMENu features here:

http://www.dotnetnuke.com/Resources/Wiki/Page/DDRMenu-user-guide.aspx
Friday, August 12, 2011 6:41 AM
What should i use instead of DNN LeftMenu in DNN 6? The page crashes on the 3rd level navigation



thanks
# Vinny Malanga
Friday, August 12, 2011 7:12 AM
Hi Ioana,
I would start by making sure that after upgrading to the latest DDRMenu found on CodePlex for DNN 6, that you have set the references correctly in your skin.
# alicson katich
Wednesday, March 14, 2012 5:05 AM
database upgrades happen automatically after your overwriten the files, unless you have autoupgrade set to false. If so you will have to trigger it yourself .drug detox rehab

Post Comment

Name (required)

Email (required)

CAPTCHA image
Enter the code shown above: