Quick Nav:  Online Store   |   Login | Register

Javascript Bug (CSS Skins 2.5 DNN2.0)

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
Jason Dean
<20 Posts
Posts:6


05/14/2004 7:25 PM  
Hey all,

Wondering if any of you have experienced my problem. I recently purchased CSS Skins 2.5 DNN2.0 (http://www.snowcovered.com/snowcovered2/Default.aspx?mid=499&tabid=60&ctl=catalogitemdetails&catalogitemid=68&subcategoryid=27&pagenumber=0&r=SnapsisDNN@snapsis.com).

The skins install great and look good but my problem is with the top menu. When I implement a skin, the top menu doesn't do anything when you click on any of the links, and just gives me this javascript error:

'snapsis_CSSViewerActive' is undefined

If I switch back to the default DNN skin, everything works fine. I'm running the latest version of DNN (DNN 2.0.4).

Any thoughts??
John Mitchell
<500Posts
Posts:355


05/15/2004 6:38 AM  

Yes, that's a bug. :( Fortunately it's an easy one.  In DesktopModules/SnapsisDNN/spMenu.js on line 566 is where the error occurs.

It is checking to see if the “Magic Wand” is on and if so keep the navigation from working on a click so that the style for the menu item can be edited.  I ended up implementing this functionallity on a right-click so that if condition can be removed.  Or you can define that variable at the top of spMenu.js like so:

var snapsis_CSSViewerActive = false;

Or you can get a new spMenu.js file by clicking here

Jason Dean
<20 Posts
Posts:6


05/15/2004 7:42 AM  
John,

Thanks for your speedy reply. I will keep this fix on file. I also found that if you use the skin uploader provided by DNN, this error doesn't happen.

Initially I installed the skin manually by extracting the zip file into the skins folder of my portal. This is when I got the error. Once I installed it using the File Manager, the bug went away.

Thanks again.

-Jason
John Mitchell
<500Posts
Posts:355


05/15/2004 8:05 AM  

Hmm, That may be something different.  Shouldn't have anything to do with the uploader.

You were getting the error when you clicked on a sub-menu item and not logged in as Admin right?

simon duz
<20 Posts
Posts:2


05/16/2004 8:48 PM  
Thank you John. I wish I had found this yesterday.
Please disregard my email about this same problem.

Jason Dean
<20 Posts
Posts:6


05/17/2004 9:07 AM  
John,

That's correct.
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 >Bugs and other Issues > Javascript Bug (CSS Skins 2.5 DNN2.0)



ActiveForums 3.7
Powered by: Snapsis Software