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.
Thanks.
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?
<?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?
of course. It works pretty much everywhere...
http://www.concrete5.org/community/forums/customizing_c5/hide_login...