Coderguy’s Blog

Thoughts on code

About

Hello, my name is Daniel Ice. I am a software developer in the Dallas, TX area. I enjoy learning about new technology. I mostly focus on PHP and Ruby on Rails.

Archive for the 'Joomla' Category

Joomla Check a User’s Status with Ajax

Wednesday, June 23rd, 2010

The other day I found myself needing to know if a user was logged in to my Joomla site via javascript.  To accomplish this I did the following steps: 1. Add check function to user controller Open up <your root joomla dir>/components/com_user/controller.php and add the following function: public function check() { global $mainframe; $user =& [...]

Read the rest of this entry »