Download & Extend

menu hook implemented the wrong way?

Project:Counter
Version:5.x-1.6
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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?

Comments

#1

Status:active» needs review

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.

AttachmentSize
counter.module.patch 631 bytes

#2

Status:needs review» closed (fixed)

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