gbensonii Posted October 25, 2011 Share Posted October 25, 2011 I have an existing module I created to go on my Joomla Homepage (shown below) that I want to change so that when a client is logged in it will display a message that says something like "Hello George," or whatever the users name is followed by a button to logout. The module works well for the Login but I am not sure how to change it to check to see if your logged in and if you are logged in then to display the Hello message and Logout button. Any suggestions? Note: I have replaced the token value with x's for security purposes. <html> <head> </head> <body> <form id="frmlogin" action="http://www.frugalhost.com/billing/whmcs/dologin.php" enctype="application/x-www-form-urlencoded" method="post"> <input type="hidden" name="token" value="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" /> <table id="whmcslogin" align="center" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td colspan="2">Email:</td> </tr> <tr> <td colspan="2"><input name="username" size="30" type="text" /></td> </tr> <tr> <td colspan="2">Password:</td> </tr> <tr> <td colspan="2"><input name="password" size="30" type="password" /></td> </tr> <tr> <td><input name="rememberme2" value="on" type="checkbox" /> Remember Me</td> <td style="text-align: right;"><input value="Login" type="submit" /></td> </tr> </tbody> </table> </form> </body> </html> 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.