I'm starting to wonder if the wrong version is in the CVS - together with the issue of passing two parameters to hook_help there appear to be problems with hook_menu too.

I installed the module, ran update, set the permissions but couldn't find the menu anywhere and nor would the parameters work so I can't configure it.

Looking at the example hook_menu at http://api.drupal.org/api/function/page_example_menu/5 it seems very very different from the version in the code

function textsize_menu() {
  $items = array();
  $items['admin/settings/textsize'] = array(
    '#title' => t('Text Size configuration'),
    '#description' => t('Settings for the display and values.'),
    'access callback'   => 'user_access',
    'access arguments' => array('administer textsize'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array('textsize_admin_settings')
  );
  return $items;
}

Is that code Drupal 5 compatible? Is it possible the 6 version has overwritten the 5 version?

Any help/suggestions gratefully received!

Comments

CZ’s picture

Status: Active » Fixed

fixed

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.