Login as a User

Permalink
I am making a site where "professionals" can register and log in to access certain pages. I used the login block, but it is still present when users log in, and there is no indication that they did indeed log in. Is there any way to get rid of the login box, possibly add a "sign out" link, disable registration when professionals are signed in, and allow "professionals" to change their attributes?

Thanks.

 
Remo replied on at Permalink Reply
Remo
chizeng replied on at Permalink Reply
Thanks Remo. That worked! Also, btw, could one use this snipped of code:

<?php global $u;
if ($u -> isLoggedIn ()) { ?>
//Do Something that requires login.
<?php } ?>

and use specific CSS styles & dhtml to display:none or display:block certain things in the template file?
Remo replied on at Permalink Reply
Remo
of course. It works pretty much everywhere...