Improve help to allow the help url to be global in the view.
This commit is contained in:
@ -150,10 +150,10 @@ class ComponentbuilderViewCustom_code extends JViewLegacy
|
||||
}
|
||||
JToolbarHelper::divider();
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('custom_code');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('custom_code');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user