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?

CommentFileSizeAuthor
#1 counter.module.patch631 bytesjoe.murray

Comments

joe.murray’s picture

Status: Active » Needs review
StatusFileSize
new631 bytes

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.

drupalnesia’s picture

Status: Needs review » Closed (fixed)

Patch applied to Drupal 6.x, please upgrade to Drupal 6.