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?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | counter.module.patch | 631 bytes | joe.murray |
Comments
Comment #1
joe.murray commentedThere 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.
Comment #2
drupalnesia commentedPatch applied to Drupal 6.x, please upgrade to Drupal 6.