logged in as without form_login?
Ok, the form_login function calls for a login form when the user is not logged in and a View Your Profile link when the user is logged in. Now I want to remove the login form because there is already another page to log in (at some stage both are displayed on a single page which looks ridiculous). But I want to keep the View Your Profile etc. info.
This is the problem. Any way to solve it is welcome bu I’m thinking that I would need some kind of “if logged in then do this else do that” kind of addition. So how can we know if a user is logged in and use that info to build a if () structure?
- You must be logged in to reply to this topic.