We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a2be88 commit da60251Copy full SHA for da60251
administrator/components/com_config/view/component/html.php
@@ -98,6 +98,11 @@ protected function addToolbar()
98
JToolbarHelper::divider();
99
JToolbarHelper::cancel('config.cancel.component');
100
101
- JToolbarHelper::help('JHELP_COMPONENTS_' . $this->currentComponent . '_OPTIONS');
+
102
+ $helpUrl = $this->form->getData()->get('helpURL');
103
+ $helpKey = (string) $this->form->getXml()->config->help['key'];
104
+ $helpKey = $helpKey ?: 'JHELP_COMPONENTS_' . strtoupper($this->currentComponent) . '_OPTIONS';
105
106
+ JToolbarHelper::help($helpKey, (boolean) $helpUrl, null, $this->currentComponent);
107
}
108
0 commit comments