New answers tagged

0

So to get it from global configuration set in configuration.php from anywhere within Joomla component, plugins, modules and templates you would use: $config = JFactory::getConfig(); $siteName = $config->get('sitename', 'No Site Name Specified'); OR siteName = JFactory::getConfig()->get('sitename', 'No Site Name Specified'); You can also use name ...


1

First of all, you're using different file structure and class naming conventions than Joomla! core. This won't work without rewriting related methods such as controller's getView(). That said, using standard naming conventions, I was able to get this to work by setting base_path option when fetching the controller in component's entry file: $controller = ...


Top 50 recent answers are included