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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreHave edit Registration Address navigate to custom user profile page?Have edit Registration Address navigate to custom user profile page?
Previous
 
Next
New Post
7/20/2010 2:45 PM
 
I realize there is already kind of a thread about this

http://www.dotnetnuke.com/Community/F...

But I don't use the profile page on my website I have a custom page I built that handles all the profile/user detail information and it kind of puts a kink in my process flow letting people navigate to the profile page....

It'd be nice if the shopping cart obeyed the specifications overridden in admin for the user details page and navigated to that page opposed to the profile page.... 
Or at least an option in the cart to indicate what page to navigate someone to when it needs to edit profile related details

Thanks :-)

AND on a site note really good job with the new version of the cart I have a customer I put it in place for and they just love it.....
 
New Post
7/29/2010 8:53 PM
 
Hi Shane,

The Store module redirect to the page defined in PortalSettings.UserTabId this is the setting defined under Admin > Site Settings > Advanced Settings > User Page. Please try to select your user page to this setting and tell me if this correct your problem.

Gilles

We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
7/30/2010 2:36 PM
 
Yea I already have my User Profile Page setup to my custom page Upon reading my original post I don't know why I didn't give better steps :-/ So on the Shopping Cart Module Click ADDRESSES There's that default "Registration Address" which feeds from the Address defined in the profile properties Click EDIT This navigates you to the PROFILE edit screen.... But I don't want my users to ever be able to get to that PROFILE edit screen On the custom registration page I built the user can enter an address and it updates the corresponding profile properties... It also does some other stuff when you modify you're address so that's why I want address editing to come from the direction of my page and not from the profile page hope that all makes sense Thanks for the reply
 
New Post
7/31/2010 10:10 AM
 
Hi Shane,

Yes it make sense. :-) Normaly, if your special page is defined in the Site settings it should be redirected to this page because the Store module use the TabID defined in the User Page setting!? I have to finish some work, I will look at this in some days.

Gilles

We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
7/31/2010 2:42 PM
 

Alright this is what I've found out hopefully it's useful...

I found inside
DotNetNuke.Modules.Store.Providers.Address.DefaultAddressProvider where it sets up the redirect
link.NavigateUrl = Globals.NavigateURL(base.PortalSettings.UserTabId, "Profile", additionalParameters);

This looked right.... So I clicked around a little starting at the admin/skins/login.ascx control given that it provides the same functionality

I found that it does the redirect like this

Response.Redirect(UserProfileURL(objUserInfo.UserID))

Which took me over to  the Globals.vb file

I noticed in Globals.vb there's this function which uses the same syntax as the store does for the redirect and it was marked as obsolete in 5.3

 <Obsolete("Deprecated in DNN 5.3.  Replaced by UserProfileURL")> _
        Public Function ProfileURL(ByVal userID As Integer) As String

SO I think if in
"DotNetNuke.Modules.Store.Providers.Address.DefaultAddressProvider"
if
link.NavigateUrl = Globals.NavigateURL(base.PortalSettings.UserTabId, "Profile", additionalParameters);
is changed to
link.NavigateUrl = UserProfileURL(base.UserId);

I think that will fall in line with stuff but I guess that might make the store module 5.3+ dependent which might not be a viable implementation in which case

link.NavigateUrl = Globals.NavigateURL(base.PortalSettings.UserTabId, "", additionalParameters);

which is how UserProfileURL does things

also is there a way I can get the source code for the store? I realize there's a source file but all it has are DLLs and not files I can recompile it'd be nice to be able to change this line of code for now in the implementation I'm using


Hopefully that's the right track
Thanks again
Shane

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreHave edit Registration Address navigate to custom user profile page?Have edit Registration Address navigate to custom user 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