<<< Coding for the future >>>
| How to check if a user is logged into joomla |
|
|
|
| Written by Administrator |
| Tuesday, 09 February 2010 12:53 |
|
I'm using Joomla 1.5 and wanting to check if a user is logged in or not. Using Joomla variables we can check using the following piece code $user =& JFactory::getUser();
This will probably have already been done if you are on a joomla page anyway. To see if the user is logged in:
<?php //NOT LOGGED IN //LOGGED IN }
|