[development] link admin/help

Henrique Recidive recidive at gmail.com
Wed Feb 28 16:51:45 UTC 2007


Hello,

2007/2/28, Glenn Wybo <glennwybo at hotmail.com>:
> Grtz,
>
> I'm writing a new module for drupal and was just trying to add some help in
> the module. Adding a description in admin/modules wasn't a problem, nut I
> also wanted to add some information to the admin/help. The code is :
>
> function product_help($section = 'admin/help#product') {
>   $output = "";
>
>   switch ($section) {
>     case 'admin/help#products':

The problem seems to be here, it should be 'admin/help#product'
assuming 'product' is the name of your module. Please consult the API
docs for more information:

http://api.drupal.org/api/5/function/hook_help

and double check for typos before emailing this list.


Cheers,

Henrique


More information about the development mailing list