I'm reading Drupal 7 Module Development and trying to learn module development. I've created their example module 'first' and I'm not seeing the 'help' link.
Here is what I have so far...
/sites/all/modules/first/first.info
name = First
description = A first module.
package = Drupal 7 Development
core = 7.x
/sites/all/modules/first/first.module
<?php
/**
* @file
* A module exemplifying Drupal coding practices and APIs.
*
* This module provides a block that lists all of the
* installed modules. It illustrates coding standards,
* practices, and API use for Drupal 7.
*/
/**
* Implements hook_help().
*/
function first_help($path, $arg) {
if ($path == 'admin/help#first.') {
return t('A demonstration module.');
}
}
Now then... according to this book, when I install/activate the first
module, I should see a () Help link to the right of my module name in the Modules admin panel.
I don't. What could be stopping this link from populating this screen. I get () Help
links for all of the other modules. But not mine.
I created a subdomain on my server and installed Drupal to test with a fresh Drupal install. The help link shows up and works on the new install. So now I'm trying to wrap my head around what could be killing it on my other Drupal site? Could Devel? Coder? This is very weird.
$path
should be defined inhook_menu()
function of your module (but not necessary to see the linke). 3) in your info file removefiles[]= first.module
-- its 100% un-needed.