menu hook implemented the wrong way?
bascostbudde - July 3, 2008 - 13:03
| Project: | Counter |
| Version: | 5.x-1.6 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
In my D5.7 installation the paths to counter do not show up.
Changing
$items['admin/settings/counter'] = array(to
$items[] = array(
'path' => 'admin/settings/counter',makes that better, but the settings form is still not visible. Am I really looking at D5 code?

#1
There were other issues: page callback should have been callback, and page arguments should have been callback arguments.
This patch gets the admin/settings/counter page to come up. The block appears fine too.
#2
Patch applied to Drupal 6.x, please upgrade to Drupal 6.