removed use for joomla application (some new functions and hooks may be required.)