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...Administration ...Administration ...Setting the "Manage Profile"-tab as default on profile pageSetting the "Manage Profile"-tab as default on profile page
Previous
 
Next
New Post
10/19/2011 11:30 PM
 
Hi,

Whenever a user navigates to his/her profile in DNN, there are a few tabs available to the user. The first one, which is also the default one focussed, is "Manage User" (ManageUser.ascx). The last one is "Manage Profile" (Profile.ascx).

In previous DNN-versions the "Manage Profile"-screen was loaded using a javascript postback, with a certain call. I had thus added a small javascript on the profilepage (using an HTML-module), automatically triggering that javascript postback on pageload, so that the "Manage Profile" became the 'default' screen.

Now, in DNN 6, that has changed. The "Manage Profile"-tab seems to be an internal link to '#dnn_ctr_ManageUsers_dnnProfileDetails'. However, trying to load the profile page from another page, including the '#dnn_ctr_ManageUsers_dnnProfileDetails', doesn't load the "Manage Profile"-tab by default. Even when I added a Response.Redirect in the ManageUser.ascx.cs-file, automatically redirecting to '#dnn_ctr_ManageUsers_dnnProfileDetails', that didn't do the trick.

So the question: What would be the best way in DNN 6 to have the edit-profile-page automatically focussing the "Manage Profile"-tab at all times?
 
New Post
10/20/2011 1:31 AM
 
Maybe need to change the js file of DNN and make the "Manage Profile" tab "selected" by default.

NovaSoftware ---a professional outsourcing company in China .
* More than 6 years' offshore experience in DNN
* Successfully developed 30+ websites , 250+ DNN modules, 50+ sets of Skins/Containers.
* Demo Site:http://dotnetnuke.novasoftware.com/
 
New Post
10/25/2011 11:33 AM
 
Going to try that, thanks for your reply.
 
New Post
11/17/2011 9:46 AM
 
For the record: I ended up altering '\DesktopModules\Admin\Security\manageusers.ascx'. All tabs on the user's profile-page are <li>-elements. I moved the one with the reffing to '#<%=dnnProfileDetails.ClientID%>' to be the first one in the list, making it the selected tab by default.

For now, this seems to me as the best (and possibly only) way to do it. It would sure be nice if it would become settable in DNN's site settings as I'm not really a fan of altering DNN's core files (unless absolutely necessary).
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Setting the "Manage Profile"-tab as default on profile pageSetting the "Manage Profile"-tab as default on profile page


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