You need to Register for free and Login to post a message in the forum.

Forum

Subject: To remove login link
Prev Next
You are not authorized to post a reply.

Author Messages
ambatisreedhar
Nuker
Nuker
Posts:17

23 Jul 2008 6:14 AM  
Hi,

I dont want users to login using login link.How to remove that login link from home page in DNN website?


Thanks,
Sreedhar Ambati.
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2357


23 Jul 2008 7:54 AM  
You can edit your skin file to remove it. You can also remove the Register link. Removing the links from the skin file will removes those links from every page that uses the skin. If you have more than one skin file, you'll need to edit all of them.

But, you'll want to make sure that YOU can login as admin or host. This URLs should work, but you should test before editing the skin files:

http://mysite.com/login.aspx

In the skin file, you'll want to remove [USER] and [LOGIN] from the html version of the skin, or remove

< dnn:USER runat="server" id="dnnUSER" / >
< dnn:LOGIN runat="server" id="dnnLOGIN" / >

from the ascx versions.

Joe Craig
DNN Creative Support
Subscribe to the website
Albatroz2000
DNN Creative Magazine Subscriber
Nuker
Nuker
Posts:12

23 Jul 2008 10:19 AM  
Joe, on my end the Register button doesnt show up in 4.8.4 Login Module but then the text link is there, right above the Forgot my Password. What do I have to do to have this text link not show up? I do not want my users to Register using the existing Register link, rather using a Purchase Now button. Thanks.
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2357


23 Jul 2008 9:43 PM  
I believe that if you make the site "Private" that this link will disappear.

Joe Craig
DNN Creative Support
Subscribe to the website
ambatisreedhar
Nuker
Nuker
Posts:17

24 Jul 2008 8:27 AM  
Joe, How do I make the site private?
ambatisreedhar
Nuker
Nuker
Posts:17

24 Jul 2008 8:33 AM  
I also tried commenting out the < dnn:USER line in all the .ascx files in my skin's folder. now after I login (using default.aspx?ctl=login) the 'logoff' link won't come up
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2357


24 Jul 2008 9:43 AM  
You make the site "private" in the Site Settings page. There are several radio buttons that determine how registrations get handled at the site.

The USER control says "Login" if you aren't logged in, and changes to "Logout" if you are logged in. If you removed that, you won't see the login link. If you want to display "Logout" but not "Login," you can put some conditional code in your skin to display that only to people who are logged in. I believe that the code is posted somewhere in these forums, but you'll find lots more in the forums at Snapsis.com, which is where I learned that trick ... and several others ...

Joe Craig
DNN Creative Support
Subscribe to the website
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > To remove login link



ActiveForums 3.7

Latest Forum Posts

Need UK Hosting by Liz
Hi,Not sure if this is the right place, but I am currently with Power DNN, and whilst I am a big fan...
RE: search not working by sanju_k1421
host==>admin search page that is set both limits min //max page reindex content button is ...
RE: No Access for me too by leesykes
hello,I have fixed the problem and I have given you a years access beginning from today December 2nd...
old skins for DNN 4.9.0 ? by clippy
Hello from France My question is about the videos for beginners, and specially n° 3; I'm working...
Web.config Error by derpir
HelloI got this error, does this seem familiar to you? Can anyone say how to fix this error?Error 98...
No Access for me too by ristori
I suscribe for the magazine novembre 2008 13. I receive this ticket from Paypal : Prix de l...
How can I list our offices by country by bluehoops
Hi everyone!Apologies if this is a simple question, but it is driving me nuts.I run a small ISV and ...
RE: DNN Creative vs FireFoX V3 by DavidWSnow
It now looks like the error'ing extension is StumbleUpon and it effects FireFox on some, but not all...
Issue 39 Authentication by DavidWSnow
I was glad to see you address this topic. When LiveId was first added to DNN, I tried to implement i...
RE: (catalook) Itempane changes on product pages ?? by Vilaplana
Hi, I think the problem is been caused by your skin and not by Catalook itself.  In the main page, C...
Yahoo Answers by cdtguru
Hey, i was wondering if anyone knew of a module that would create a similar system to Yahoo Answers...
(catalook) Itempane changes on product pages ?? by Gaz35
Hi , hi , I don’t know if you can help me , here is the site in question http...
RE: Virtual Pc 2007 help by jeff@zina.com
You need to get the Virtual PC's network set up.  Might check the Virtual PC news group: http://www...
DNNCreative Just Keeps Getting Better by jeff@zina.com
Kudos on issue 39, the article on importing large quantities of data was both timely for me and spot...
RE: Videos by clippy
Hello from France My question is about the videos for beginners, and specially n° 3; I'm working...
skinning trouble by derpir
HelloI have uploaded a skin to my DNN-website, but I want to make som changes. I have made some chan...
RE: Column width in UDT by VickySwift
In case anyone else is looking for the answer to this, I have been able to add the headers back in b...
RE: search not working by jncraig
Did you either reindex the site to turn on the scheduled task to do it?
RE: Template Issue by jncraig
No, you need to install your custom modules before you use the template.
RE: error message in registration page by jncraig
I'm not sure that you can avoid them, short of rewriting the module.You might want to investigate Dy...
AppTheory
RSS Feeds