Closed (fixed)
Project:
Drupal core
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2003 at 23:34 UTC
Updated:
6 Mar 2004 at 16:20 UTC
If I add a menu path like admin/something/foo+bar, the help screen $help["foobar"] associated with this path will not be displayed, but the $help screen of the menu point above it.
Here is a test module:
<?php
function test_link($type, $node = NULL) {
if ($type == "admin" && user_access("administer users")) {
$help["overview"] = t("Test overview help");
$help["test"] = t("Test");
$help["foobar"] = t("Foobar.");
menu("admin/test", "test", "test_admin", $help["overview"], 3);
menu("admin/test/foo+bar", "foo bar", "test_admin", $help["foobar"], 4);
}
}
function test_admin() {
$op = $_POST["op"];
$edit = $_POST["edit"];
}
?>
Comments
Comment #1
Kjartan commentedCurrent CVS uses the _help hook instead to show help texts.
Comment #2
(not verified) commented