Login/register button(SOLVED)

jhmac

Joined: 2009-04-18
Posts: 44
Posted: Tue, 2010-02-16 19:21

Is the login/register button connected. I created a link for registration in my nav bar. It's properly linked to the registration page. I did the same for the login button so the nav bar look is consistent throughout the site. Problem with this is once you're logged in you don't have the logout option. As far as admins, I don't have that option either. I assume I can just bookmark the admin link so when I log into the site I can just direct to the admin options page although I would still like to keep that option as well. I guess my question is how can I have just the login/logout options displayed without the registration option?

www.rockstarrated.com/rrgallery

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Tue, 2010-02-16 23:22

disable the registration module

 
jhmac

Joined: 2009-04-18
Posts: 44
Posted: Wed, 2010-02-17 04:51

Wouldn't that disable registration completely? I just want to lose the option visually on the site ( the button itself).

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Wed, 2010-02-17 10:26

then make the obvious hacks to function getSystemLinks() in modules/register/module.inc (from line 102)

 
jhmac

Joined: 2009-04-18
Posts: 44
Posted: Thu, 2010-02-18 22:37

I wouldn't call what I did "obvious" but it seemed to work. Thanks.

 
kev1365

Joined: 2010-12-18
Posts: 1
Posted: Sat, 2010-12-18 02:34

disabling the registration module seemed to work for me.