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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...2 Questions - Help Desk Module & Login AutoFocus2 Questions - Help Desk Module & Login AutoFocus
Previous
 
Next
New Post
3/9/2007 9:04 AM
 
I had 2 questions I wanted to put out there. 

First, why was the focus removed from the Account Login Module?  This module used to automatically focus on the username field, but it doesn't anymore in the most recent version of DNN (4.04.01).  I have added it back in on my portal, but I was just curious as to what the reasoning was.

Second, has anyone here used the SigmaPro Draconis 5.0/6.0 Help Desk Module?  (That was a mouthful!)  Can you lend me any insight into your likes and dislikes with its functionality, usability, integration, bugs, etc.?  It would be nice to preview a module like this, but that is not always possible.  :)  The description offers me too many ideas as to how this module(s) might be put together and used.

http://www.onyaktech.com/Modules/AllOnyakTechProducts/tabid/373/CategoryID/1/List/1/Level/a/ProductID/49/Default.aspx
(scroll down to see the actual module info)

Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
3/9/2007 9:13 AM
 
I guess since I have found more than the one DNN Help Desk module (there is also a DNNToolSet one that I found), I should open the second question to your experiences of any of the DNN Help Desk Modules out there.  Please offer any advice, experiences, or suggestions that you might have concerning any DNN Help Desk Module that you might have used. 

I am really trying to determine if I should write my own or start with a pre-developed one.

Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
3/9/2007 12:32 PM
 

Just a comment on the first one about the login auto-focus.  I just loaded v.4.1.1 and noticed the same thing.  I haven't used DNN for a bit, so I'm not sure when this feature was removed.  I just thought it was some kind of script being prevented from firirng due to my browser security.  Had not really looked into it. 

Being one of the early users of DNN back in the DNN v1.0.7 days, I was one pushing for that mod in the first place.  Refresh my memory, and explain how you fixed it?

Thanks!

 
New Post
3/9/2007 1:30 PM
 
The best way to fix it is by modifying the source.  In <root>\admin\security\signin.aspx.vb add the following code to the Page_Load or Page_Init sub:

    If Not Page.IsPostBack Then Me.txtUsername.Focus()

Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
3/9/2007 5:35 PM
 

Well, I checked the v04.04.01 version code against the last version code I had running v04.00.02.  Sure enough, that code has been significantly changed, but there is not much in the summary section about it.  Also, in going over the v04.04.01 code in the signin.ascx.vb, you'll find that there is some code to do this type of thing.  Trouble is - as you discovered - it doesn't work.  It got me to thinking about how this was done. 

Originally, setting focus on a form was only possible in ASP.Net v1.x by kludging some codebehind to write a javascript command to do it.  You can find the code that is being called in the present version by inspecting the function call in the signin.ascx.vb code:  setformfocus(txtUserName), which references code in the Globals.vb.  Take a look at it, and you'll see what I'm talking about. 

Now, back to the signin.ascx.vb code, the snippet that actually calls this function has an issue, most probably due to the function not working as expected.  You can change the code to include your 'fix' in the snippet and rebuild the solution to get around it.  Here's the snippet with the revision:

If Not Request.QueryString("username") Is Nothing Then
txtUsername.Text = Request.QueryString("username")
'SetFormFocus(txtPassword)
txtPassword.Focus()
Else
' SetFormFocus(txtUsername)
txtUsername.Focus()
End If

Looks like things have improved since I last worked with ASP.Net.  Imagine being able to set focus in a straightforward manner.  Wow, huh?  BTW - I've not looked into why the Globals code is not working, but someone on Core needs a look.  Hopefully, I'll be able to log a Gemini point on it later. 

Cheers!

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...2 Questions - Help Desk Module & Login AutoFocus2 Questions - Help Desk Module & Login AutoFocus


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