Make it Joomla 3 compatible