HomeHomeUsing DotNetNuk...Using DotNetNuk...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 oursoursing 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 DotNetNuk...Using DotNetNuk...Administration ...Administration ...Setting the "Manage Profile"-tab as default on profile pageSetting the "Manage Profile"-tab as default on profile page


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.