Modified component to be used in version 3.x of Joomla