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:16

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
Nuke Master I
Nuke Master I
Posts:1996

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
Nuke Newbie
Nuke Newbie
Posts:9

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
Nuke Master I
Nuke Master I
Posts:1996

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:16

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

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
Nuke Master I
Nuke Master I
Posts:1996

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

RE: Query Regarding search fuctionality by kaustav_kar
Thanks for your help. Could you please tell me how to configure it?
Login page by shanny234
---resolved---
RE: Only registered users can access some parts of the module by nukedoubt
Solution Obtained !!!!!!!Follow the steps :To Checked In login mode as registered users or not - Do...
RE: Blog Module on 4.8.4 by bryan_homey
03.04.00 Thanks Bryan
RE: Repository template: YouTube by bryan_homey
Thanks!
RE: File Manager Upload (intermittent error) by dnnmq
banner_rotator.js is only 3KB.  This behavior was reported after we upgraded from 4.3.4 to 4.8.3.Bef...
RE: templates and modules by mmcinulty
Hi Bocheck back to issue 24 for info about page templates.about your other issue with modules login ...
templates and modules by cyborama
Hello Lee and Joe,My first question deals with templates.  I noticed in dotnetnuke apparently you ca...
News Feeds (RSS) module 4.0 ? by wolmar
I had some trouble with the old NewsFeeds module (the one coverd in tutorial) so i figured i'd insta...
style search CSS or XML by mmcinulty
CSS an XMLi was looking back at issue 29 about search styling. there was a skin i seen www.dnnskin.n...
RE: Query Regarding search fuctionality by jncraig
I believe that the Venexus search tools can be configured to do that.
RE: Create Bookmarks/Anchor Points/Page TOC by jncraig
I'm not aware of a module that does that. And, yes, you have to put the links in manually. I've us...
RE: Refreshing Bl... IE by jncraig
F5 reloads the page, but doesn't necessarily reload cached files associated with the page. CTRL-F5 ...
RE: Bitter Sweet Skin Menu by jncraig
No, I'm really not here 24/7. More like 16/7!
RE: News Feed from DNN Blog by aggiedan97
Thanks for the reply. I have tested with the XSL stylesheet specified and still no success. The Bl...
Create Bookmarks/Anchor Points/Page TOC by lb313
I am developing my first DNN site and have been doing some modifications to the skin I am using and ...
Query Regarding search fuctionality by kaustav_kar
Hi,On my site we have the search feature(dnn:search).  Right now when we search, the search is done ...
RE: Bitter Sweet Skin Menu by leesykes
You need to use the correct container for the content panes, otherwise the text will not display cor...
RE: Refreshing Bl... IE by leesykes
CTRL+F5 should do the trick - F5 by itself or refresh tends not to work.
RE: File Manager Upload (intermittent error) by leesykes
not sure - how large are the files?
AppTheory
RSS Feeds