Mountain View 1600, CA 94043
+1 650-253-0000
name@example.com
Web
Site
Search
Register
Login
DNN Home
Services
-
DotNetNuke Support
-
CRM Systems
DNN
-
DotNetNuke Modules
-
Module Downloads
-
Module Upgrade Policy
DNN Support
-
Module Update News
-
Knowledge Base
-
License Management
-
Invoice History
Module Downloads
Blog
Store
Contact Us
-
About Us
Search
Home
1
2
3
4
5
Home
Support
Advance Login M...
Login Skin Object (Almost) Works with Chrome Fails with IE9 and FF
Previous
Next
9/16/2011 7:27 AM
Charlie Gro
Joined: 9/15/2011
Posts: 3
Login Skin Object (Almost) Works with Chrome Fails with IE9 and FF
(United States)
I have a default DNN 5.6.3 site at www.anjo.mobi/dev
If you navigate to that url using Chrome and hit the Login skin object link (not the AdvancedLogin slider), then the slider opens. The only issue here is the "Login Register" link in the slider does not automatically change to "Close Panel". You have to click it.
However if you perform the same actions with IE9 or FF 6 I get a blank page with the following text:
[object Object]
Can you tell me what I need to do to make this function correctly with all browsers?
Thanks
9/16/2011 10:28 AM
DNN Module Support
Joined: 8/28/2006
Posts: 2065
Re: Login Skin Object (Almost) Works with Chrome Fails with IE9 and FF
(Australia)
This is a nice easy one.
Clear cache on the browsers. In IE 9 this can be hard, and sometimes requires you manually delete temporary folder files. This is caused by IE9 having a terrible development company behind it, namely Microsoft.
I have tested in IE9 and FF6, and Chrome. No problems in any of them, including the close panel feature.
I have seen these strange things before, and always it is caused by cache doing strange things with dev work. Clear your cache and you should be gold!
9/17/2011 12:41 AM
Charlie Gro
Joined: 9/15/2011
Posts: 3
Re: Login Skin Object (Almost) Works with Chrome Fails with IE9 and FF
(United States)
Thanks for the quick reply; but unfortunately that did not solve my problem.
To Clarify, I am clicking the default skin's "Login" link. Doing so in chrome activates the slider. But using IE or FF I get the blank window with the [object Object] text.
Please let me know if you can duplicate what I am seeing at www.anjo.mobi/dev.
Thanks
9/17/2011 3:38 AM
DNN Module Support
Joined: 8/28/2006
Posts: 2065
Re: Login Skin Object (Almost) Works with Chrome Fails with IE9 and FF
(Australia)
Oh, sorry I had miss understood that you were clicking the login and register in your default skin links.
We found that because the results were unpredictable, we used some custom script in the jQuery custom script settings of the template to hide these.
If you add:
jQuery("#dnn_dnnLOGIN_cmdLogin").css("display","none");
jQuery("#dnn_dnnUSER_cmdRegister").css("display","none");
to the custom script settings of the template, below the initial settings:
jQuery(document).ready(function(){
jQuery("#open").click(function(){
jQuery("div#adv_slidedown_panel").slideDown("slow");
});
// Collapse Panel
jQuery("#iwebs-close").click(function(){
jQuery("div#adv_slidedown_panel").slideUp("slow");
});
// Switch buttons from "Log In | Register" to "Close Panel" on click
jQuery("#toggle a").click(function () {
jQuery("#toggle a").toggle();
});
jQuery("#dnn_dnnLOGIN_cmdLogin").css("display","none");
jQuery("#dnn_dnnUSER_cmdRegister").css("display","none");
This hides the skin links and forces the user to click the slide down bar.
9/17/2011 10:27 PM
Charlie Gro
Joined: 9/15/2011
Posts: 3
Re: Login Skin Object (Almost) Works with Chrome Fails with IE9 and FF
(United States)
If I add that script does it also hide the "Logout" link? If so, how would the user log out?
Thanks
9/18/2011 1:36 AM
DNN Module Support
Joined: 8/28/2006
Posts: 2065
Re: Login Skin Object (Almost) Works with Chrome Fails with IE9 and FF
(Australia)
Logout should still work, as the slide down is only displayed for unauthenticated users. Try it.
Page 1 of 1
Previous
Next
Home
Support
Advance Login M...
Login Skin Object (Almost) Works with Chrome Fails with IE9 and FF