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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Regarding Login and Register linkRegarding Login and Register link
Previous
 
Next
New Post
2/4/2010 5:14 AM
 

Hi all,

I have a question regarding the login and registration links.

I want to add login and registration link in one of my page and I have used Text/Html module on that page , for login and registration I ave written

<p><a class="user" id="dnn_dnnUSER_cmdRegister" href=" __doPostBack('dnn$dnnUSER$cmdRegister','')">Register</a>&#160;&#160;|&#160;&#160;<a class="user" id="dnn_dnnLOGIN_cmdLogin" href=" __doPostBack('dnn$dnnLOGIN$cmdLogin','')">Login</a></p>

linking is ok but the links are not working can any one please help me in this case that how to do that how theses link will work, it is very urgent,.

 

Thanks in Advance

Sansugoi

 
New Post
2/4/2010 5:35 AM
 

you should use skin objects or modules to integrate this functions into your pages.

Preferred options should be modifying the DNN skin appropriately.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/4/2010 7:26 AM
 

Using skin object / server side code  to generate your link is what you should do to ensure 1) that the __doPostBack method is generated and 2) that your code will not break if the control structure / ID structure changes over time.

Anyway, your code should work by adding before the link (such as href=" __doPostBack(...)"

 
New Post
2/4/2010 7:28 AM
 

Hi Nitin

Hope i understands ur requirement.

for login page Use http:www.yoursitename.com/login.aspx

and for register page use http:www.yoursitename.com/register.aspx

these links will redirect u on the respective pages.

 


Amrish Sharma, MCP
 
New Post
2/4/2010 7:29 AM
 

Forum is stripping the code... By adding "java_script:__doPostBack" (remove the '_' in java_script)

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Regarding Login and Register linkRegarding Login and Register link


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