Closed (fixed)
Project:
Text Size
Version:
5.x-1.3.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2008 at 18:16 UTC
Updated:
25 Mar 2008 at 20:22 UTC
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
Comment #1
CZ commentedfixed
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.