Products

Solutions

Resources

Partners

Community

About

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 ForumsStoreStoreHaving problems with login before purchaseHaving problems with login before purchase
Previous
 
Next
New Post
4/26/2011 2:18 PM
 
I was just ready to go live with my site and noticed a problem.  I set the store to require the user to login before they can move forward with the purchase. However, it appears the login button is hard-coded to login.aspx.  I am using DataSprings Dynamic Login and Registration module and have them on a page called loginandregistration.aspx.  I have this page set in the core DNN to be the login and registration page when a user clicks on either login or register.  For some reason, when a user is on the store module and attempts to check out and is asked to login or register before proceeding it bypasses my DNN settings and doesn't send them to my loginandregister.aspx page it wants to send them to:

http://www.powertouplift.com/login.aspx?ReturnUrl=%2fmy-profile%2fmy-store-account

I really need to get this solved as everything else is set and ready to go.  Any help would be much appreciated.
 
New Post
4/27/2011 7:34 AM
 
Hi Dennis,

The button link is not hard coded! A redirection is applied to the defined login page:

Response.Redirect(Globals.NavigateURL(TabId, "login", new string[] { "ReturnUrl=" + HttpUtility.UrlEncode(Request.RawUrl) }), true);

The "login" parameter is the control key named "login" NOT the login page!

It doesn't work because you have NOT defined the correct login page under Admin > Site Settings > Advanced Settings > Page Management > Login Page. Select the page where your Dynamic Login is placed and you should be redirected to this page when you click on the button in the Store module.

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
4/27/2011 8:57 AM
 
Good morning Gilles from the USA,

Thank you for the speedy reply.  I have rechecked the admin settings and it appears that I do have it redirecting to the proper login page.  You can see this by visiting http://www.powertouplift.com and click on login or registration at the top of the page.  It redirects to the proper login.  You can see my settings below.



However, if you visit the Online Store page and add an item to the shopping cart and then attempt to login it redirects you to the home page.  This is where I am baffled.  Thanks for the continued support and willingness to help out.  It is much appreciated.

Kind Regards,
Dennis Kyle
 
New Post
4/27/2011 10:04 AM
 
Hi Dennis,

Damned! It works on my DNN 4.6.2 dev! I have to test this with a newer DNN version may be something has been changed. :-(

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
4/27/2011 3:52 PM
 
Hi Gilles,

While I understand the "damned" thing, I am wondering if there is a possible workaround so I do not stop the site from functioning.  We need to go live.  Can I go into the code and hardcode the page which needs to be called?
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreHaving problems with login before purchaseHaving problems with login before purchase


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