Help - Search - Members - Calendar
Full Version: Need Help With Code
World Dating Partners Forum > Support > Can anyone help?
rapboy10
Hi guys,
I just got a great new design for my frontpage, a custom built one; but I can not setup the 'login' and 'registration' boxes to work. I did everything that is on this forum, and what I knew from my previous design, and tested...tested... but wont work sad.gif Can anyone help me to make those work?
Patsy (4601)
name of your website? that is the only way someone can see what you have done wrong.

QUOTE(rapboy10 @ Apr 9 2009, 08:24 PM) *
Hi guys,
I just got a great new design for my frontpage, a custom built one; but I can not setup the 'login' and 'registration' boxes to work. I did everything that is on this forum, and what I knew from my previous design, and tested...tested... but wont work sad.gif Can anyone help me to make those work?
rapboy10
I havent uploaded the code yet on my site, but I was testing it on my subdomain. Here is the code I used for the login box:
<div class="right-top-box">
<form action="/login.do" method="post" name="LoginCommand" onsubmit="onLoginSubmit(this)">
<input name="redirTo" id="redirTo" value="" type="hidden" />
<img src="additional/images/login-bt.jpg" alt="Login" width="62" height="25" style="float:right; margin-left:5px; margin-right:5px;" /></a>
<input name="password" type="password" class="input" id="password" style="float:right;" value="Password" onfocus="clearValue(this)" onblur="restoreValue(this)" />
<input name="nickname" type="text" class="input" id="nickname" style="float:right; margin-right:5px;" value="Username" onfocus="clearValue(this)" onblur="restoreValue(this)" />
<br />
<a href="#" class="top-link">Click here</a> if you have forgotten your login details </form></div>

So I tried with this code but the login button just doesnt work..it doesnt even redirect to login.do
Patsy (4601)
You were testing on your subdomain? You would have to test on their server as that is where the link goes for the login.do otherwise it could not find it. I hope I am reading this right. in the href it shows "#" I checked my code and do not see what you have typed here. So I think you have the code wrong, or you are trying to get it to work on your own server which would not find the login.do page.




QUOTE(rapboy10 @ Apr 10 2009, 02:16 AM) *
I havent uploaded the code yet on my site, but I was testing it on my subdomain. Here is the code I used for the login box:
<div class="right-top-box">
<form action="/login.do" method="post" name="LoginCommand" onsubmit="onLoginSubmit(this)">
<input name="redirTo" id="redirTo" value="" type="hidden" />
<img src="additional/images/login-bt.jpg" alt="Login" width="62" height="25" style="float:right; margin-left:5px; margin-right:5px;" /></a>
<input name="password" type="password" class="input" id="password" style="float:right;" value="Password" onfocus="clearValue(this)" onblur="restoreValue(this)" />
<input name="nickname" type="text" class="input" id="nickname" style="float:right; margin-right:5px;" value="Username" onfocus="clearValue(this)" onblur="restoreValue(this)" />
<br />
<a href="#" class="top-link">Click here</a> if you have forgotten your login details </form></div>

So I tried with this code but the login button just doesnt work..it doesnt even redirect to login.do
rapboy10
No Patsy, I was testing it on my subdomain of singlescrowd, example: mysubdomain.singlescrowd.com and if you point ahref to '/login.do' or '<form action="/login.do" ' I think this redirects to mysubdomain.singlescrowd.com/login.do . The other code "<a href="#" class="top-link">Click here</a> if you have forgotten your login details" is for the forgottenpassword link.
But do you think I should try and write the full link at the <form action="full link here"> ??
Patsy (4601)
Check out other partners sites to make sure you have copied the code right or email Dan Vincent here for some help smile.gif

QUOTE(rapboy10 @ Apr 10 2009, 03:38 PM) *
No Patsy, I was testing it on my subdomain of singlescrowd, example: mysubdomain.singlescrowd.com and if you point ahref to '/login.do' or '<form action="/login.do" ' I think this redirects to mysubdomain.singlescrowd.com/login.do . The other code "<a href="#" class="top-link">Click here</a> if you have forgotten your login details" is for the forgottenpassword link.
But do you think I should try and write the full link at the <form action="full link here"> ??
rapboy10
Thank You Patsy, I just emailed Dan.
After finishing setting up Im going to post the link here so you guys can check the new design. wink.gif
Patsy (4601)
great looking forward to the results of all your hard work. That is what this forum is for..to help each other


QUOTE(rapboy10 @ Apr 11 2009, 05:36 AM) *
Thank You Patsy, I just emailed Dan.
After finishing setting up Im going to post the link here so you guys can check the new design. wink.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.