Commit d0b9032c authored by Penny Leach's avatar Penny Leach
Browse files

fixing up page help for artefact plugins

parent 5e5a969a
......@@ -177,7 +177,12 @@ function get_helpfile_location($plugintype, $pluginname, $form, $element, $page=
}
if ($page) {
$page = str_replace('-', '/', $page);
$file .= 'pages/' . $pluginname . '/' . $page . '.html';
if ($plugintype != 'core') {
$file .= 'pages/' . $page . '.html';
}
else {
$file .= 'pages/' . $pluginname . '/' . $page . '.html';
}
}
else if ($section) {
$file .= 'sections/' . $section . '.html';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment