Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Vertical Menu DNN Skins fail in 4.8.2Vertical Menu DNN Skins fail in 4.8.2
Previous
 
Next
New Post
4/19/2008 1:55 PM
 

The DNN standard skins use TREEVIEW for their vertical menu skins. In the versions shipped in 4.8.2 Install they don't work. When you preview them they give the error message:

An error has occurred.
DotNetNuke.Services.Exceptions.ModuleLoadException:
Object reference not set to an instance of an object.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at DotNetNuke.UI.Skins.Controls.TreeViewMenu.BuildTree(DNNNode objNode, Boolean blnPODRequest)
at DotNetNuke.UI.Skins.Controls.TreeViewMenu.Page_Load(Object sender, EventArgs e)
--- End of inner exception stack trace ---

Since the Install only includes Blue and Gray DNN skins, I took the yellow, green and red ones from the 3.1.1 archive. Their vertical menu versions work fine. I looked at the difference in the code, then added the missing code to the 4.8.2 version ones and now they work fine too.

Here is  the 4.8.2 code that fails:

<%@ Register TagPrefix="dnn" TagName="TREEVIEW" Src="~/Admin/Skins/TreeViewMenu.ascx" %>
    <TD class="leftpane" id="LeftPane" runat="server" valign="top" align="center">
      <dnn:TREEVIEW runat="server" id="dnnTREEVIEW" />
      <BR>
    </TD>

Here is the 3.1.1 code that works:

<%@ Register TagPrefix="dnn" TagName="TREEVIEW" Src="~/Admin/Skins/TreeViewMenu.ascx" %>
    <TD class="leftpane" id="LeftPane" runat="server" valign="top" align="center">
      <dnn:TREEVIEW runat="server" id="dnnTREEVIEW"

  bodyCssClass="Normal" CssClass="TreeViewMenu" headerCssClass="TreeViewMenu_Header"
  headerTextCssClass="Head" level="root" nowrap="true" treeIndentWidth="5" />
      <BR>
    </TD>

It seems that everything after id="dnnTREEVIEW" is missing in 4.8.2; maybe in earlier versions too.

 Is this a bug?

 

 
New Post
11/18/2008 6:18 PM
 

It seems like this is an issue even in 4.9.0.  Thanks for the solution.

 
New Post
4/6/2009 7:36 PM
 

I have 4.9.1 installed, and the "missing" code mentioned above is in the skin file, but I still get the same error.  Anyone know of a solution?  By the way, my installation didn't seem to include the skin by default, so I downloaded it from dnnskins.codeplex.com.

Thanks.

 
New Post
4/7/2009 3:45 AM
 

You could also use dnnNav menu with: ControlOrientation="vertical"

< dnn : NAV runat="server" id="dnnNAV" ControlOrientation="vertical" ProviderName="DNNMenuNavigationProvider"    ...   / >

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
4/30/2009 4:44 PM
 

Found the problem.  In 4.9.1, in Vertical Menu - Fixed Width.ascx, there is an error in the code:

<TD class="leftpane" id="leftpane" runat="server" valign="top" align="center">
      <dnn:TREEVIEW runat="server" id="dnnTREEVIEW" bodyCssClass="Normal" CssClass="TreeViewMenu" headerCssClass="TreeViewMenu_Header" headerTextCssClass="Head" level="root" nowrap="true" treeIndentWidth="5" />

id="leftpane" runat="server" should be removed.  Then it works fine.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Vertical Menu DNN Skins fail in 4.8.2Vertical Menu DNN Skins fail in 4.8.2


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out