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...Found a simple bug need to resolve it, just need to know where to goFound a simple bug need to resolve it, just need to know where to go
Previous
 
Next
New Post
3/2/2009 1:01 PM
 

on my web site I have a Poll Module if a user is not logged in a link will display a message saying you need to login or register to use the poll module if the users clicks the link it brings the user to the page below.

http://r8yourpolitician.co.uk/?ctl=Login

On this page if i click the "register" link i am suppose to go to the register page however the URL has a space in it and the user never gets to the intended page i want to remove to blank space and resolve this, the url that has the space in it is shown below.

http://r8yourpolitician.co.uk/Home/tabid/36/ctl/Register/returnurl/ /Default.aspx

I would like some advice from the community where i should modify this,

 
New Post
3/2/2009 1:15 PM
 

Patrick-
You need to provide an appropriate RETURNURL querystring parameter when linking to your LOGIN control.

Link to your login like this:

   http://r8yourpolitician.co.uk/?ctl=Login&returnurl=%2ftabid%2f36%2fDefault.aspx

 
Cheers!
-mamlin


esmamlin atxgeek.me
 
New Post
3/2/2009 2:50 PM
 

I can link to the Login ok with the URL provided,

 

however when I click register below the login box it tries to access the following URL which has a blank space in it.  As the Login page is part of the framework I just need to know where i should change the URL, is it in the Javascript, is it in the DLL's do i have to modify the code, or should i find the Page Control and modify it there.  When the user clicks the "Register" link from this page > http://r8yourpolitician.co.uk/?ctl=Login the javascript below is executed.

Webform_DoPostBackWithOptions(new%20Webform_PostBackOptions("dnn$ctr$Login$cmdRegister",%20"",%20true,%20"",%20"",%20false,%20true))

anyone tell me how i can replace the URL below with the same URL without the space in it.

http://r8yourpolitician.co.uk/Home/tabid/36/ctl/Register/returnurl/ /Default.aspx (URL with blank space in it )

http://r8yourpolitician.co.uk/Home/tabid/36/ctl/Register/returnurl/Default.aspx ( Correct URL)

 

 

 
New Post
3/2/2009 3:09 PM
 

Hi, Patrick-
The RETURNURL querystring value is propogated from the LOGIN link to the REGISTER link when you click "Register" -- this should take care of the blank space (%20) problem as long as you specify a RETURNURL as part of your LOGIN link.

I was able to click through the LOGIN module with the REGISTER link and I created user "test123" on your site with the link I provided in my last response.
 
I clicked through your site and was unable to reproduce the LOGIN issue from any of the pages I tried (that is, the RETURNURL querystring value was properly populated from every page I tried "LOGIN" from).

Can you provide a link to the actual page / module with the problem?

-mamlin


esmamlin atxgeek.me
 
New Post
3/2/2009 3:47 PM
 

here is the link to the page with the modules on it

http://r8yourpolitician.co.uk/NorthernIrelandCitizensIssues/tabid/1320/Default.aspx

under each poll you will see the link "Register or Sign in to rate your Politician" when you click it , you will be brought to the login page.  its then when you click register the malformed URL appears

 

kind regards

 

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Found a simple bug need to resolve it, just need to know where to goFound a simple bug need to resolve it, just need to know where to go


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