Quick Nav:  Online Store   |   Login | Register

Newest NavMenu not working with DNN 3.1.1

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
keston
<50 Posts
Posts:20


09/06/2007 3:59 AM  

Hi,

Pulling my hair out....I thought that it was compatible. Just installed NavMenu 3.1.2.0 in a DNN 3.1.1. But I get a big fat error when calling the skinobject.

An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase ctrlModule, Exception exc) at Snapsis.DNN.Skins.NavMenu.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace ---

It works when using Level="0-0", but then I only see  the first level admin and host items, where as I want to show the second level tabs with 1 level under that...should be something like level="1-2"?

Can anyone help? I know I'd better upgrade to the newest DNN version but that is no option right now...

Keston

John Mitchell
Posts:3478


09/06/2007 8:53 PM  

I develop against 3.3 so I'll need to install 3.1 if I can find it and see if I can work-around this error.

 

John Mitchell
Posts:3478


09/08/2007 9:42 PM  
I've been trying to figure out why this doesn't work for the last couple of days and it is really an obscure error. I have a feeling it is something to do with the 1.1 framework that version was compiled with. Is there any chance you can upgrade to 3.3 at least?

I'll keep looking for a work around, but this may be one of those things where updates to the .net framework have out-ran old code.
keston
<50 Posts
Posts:20


09/21/2007 5:57 AM  

Thanks for the efforts John! I'll try and upgrade first to DNN 4.6.0 (all or nothing) and then use NavMenu 3.1.2.0 ....

The idea is to get a menu like this:

level1

and when hovering over one of the tabs of level 1 (for example the first) I get:

level2

you see that level 2 tabs are covering level1 tabs...

and when hovering over one of the tabs of level 2 (for example the first) I get:

level3

Think this is possible?

Thanks,

Keston

John Mitchell
Posts:3478


09/21/2007 7:05 AM  

It looks like you are wanting an "accordian" style combined with a flyout. It can be done, but I do not have a sample for a menu like that.

You'll need to use the Template type and add some javascript to accomplish this.

keston
<50 Posts
Posts:20


09/21/2007 7:35 AM  
Posted By John Mitchell on 09/21/2007 7:05 AM

......It looks like you are wanting an "accordian" style combined with a flyout......

Its only hovering....the level 1 tabs will not move downward if thats what you think I mean...Will that simplify my menu a bit? ;)

John Mitchell
Posts:3478


09/21/2007 7:40 AM  

Oh, ok. Yes that is a classic Vertical Flyout then I guess.

http://demo.snapsis.com/Hover/VerticalFlyout/tabid/55/Default.aspx

Only it looks like you are changing the color of the other items and keeping the one you hover over the same, so you may still need some javascript.

keston
<50 Posts
Posts:20


09/21/2007 11:06 AM  

mmm, any idea on how to get the level 1 underneath the level 0 ?

I got it under level 0 but I'm not able to click on the level 1 link because level 0 is still there ofcourse...z-index doesnt work does it?

 

John Mitchell
Posts:3478


09/22/2007 12:26 PM  
Hi Keston,
I think I see what you are doing now. I missed the statement in italics above where you said that the first level hover will show over the top of the rest of the menu.

That will take some expirementation, but to get you started I think you can do it by combining the Vertical Hover and the Horizontal Hover examples.
In those examples you will want to look at the CSS that makes the Flyout show on the li:hover and adjust the left: position for the different levels.

Something like:

#nav li:hover ul {
Left:0;
}

and
#nav li li:hover ul,
Left:125px;
}
keston
<50 Posts
Posts:20


09/24/2007 8:59 AM  

got something working but i'm still trying to figure out the z-index values for the li and li li

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >CSS NavMenu > Newest NavMenu not working with DNN 3.1.1



ActiveForums 3.7
Powered by: Snapsis Software