I decided to undertake a module upgrade to try and improve my Drupal knowledge.
Whenever I am stuck with an issue - 9 times out of 10, I can find help here so it would be nice to be able to offer more in return - and knowledge is power :)
I am trying to upgrade userpoints_evaporate from D6 to D7 as my first project.
I thought this would be quite a simple starts as there are many contrib modules for userpoints which I assumed would have similar .module and .admin.inc files for me to compare.
I have used coder module, run the module through, fixed any issues and they are now clean on the review tab. This has made the module installable for D7 - Result :)
However, my first issue (and I really have been trying for over 2 hours here) is there is no admin menu link as there should be.
The code in .module is
/**
* Implements hook_menu().
*
* Module administration
*/
function userpoints_evaporate_menu() {
$items['admin/config/userpoints/evaporate'] = array(
'title' => 'Evaporation Settings',
'description' => 'Change settings for the userpoints_evaporate module.',
'page callback' => 'drupal_get_form',
'page arguments' => array('userpoints_evaporate_admin_settings'),
'access callback' => 'user_access',
'access arguments' => array('administer userpoints'),
'file' => 'userpoints_evaporate.admin.inc',