2
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
I'm not sure if it will solve the problem but it seems like you downloaded an outdated version of VirtueMart. Please, try downloading this one directly from Joomla Extensions: https://extensions.joomla.org/https://extensions.joomla.org/extension/virtuemart/
Last update was June 18, 2020. Version: 3.8.4
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
component-configuration × 12component × 4
custom-component × 4
joomla-3.x × 3
articles × 2
extensions × 2
installation × 2
front-end × 2
mysql × 1
css × 1
overrides × 1
virtuemart × 1
category × 1
xml × 1
joomla-3.9 × 1
user-groups × 1
fields × 1
configuration × 1
security-token × 1
extension-update × 1
contact × 1
custom-action × 1