Jump to content

Login form -- Question


completelydeck

Recommended Posts

Nabeel, thanks in advance for the great script you have here. 

I was wondering how I would go about showing a login form on the main page only when they aren't logged in.  If they are logged in, I would like to fill that space with a mini "control panel" type content (such as pilot name, pilot hours, hub, etc.).

How would I go about this?

Link to comment
Share on other sites

  • Administrators

Hey,

There's a few threads if you do a search, basically it's doing:

<?php
if(Auth::LoggedIn() == false)
{ ?>

<form>
</form>
<?php
}
?>

etc. If you look at some of the existing templates you'll be able too figure it out pretty easily

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...