[support] hook_menu in module developers guide?

Roy Smith roy at panix.com
Tue Aug 19 11:54:54 UTC 2008


OK, that makes sense, but I don't think the tutorial says that.  It  
would be useful if the text was updated to include that note.  It  
would have saved me a bunch of head scratching.

On Aug 18, 2008, at 10:40 PM, Steve Edwards wrote:

> When you are using a hook function, you replace the word "hook" with  
> the name of your module.  So, if your module is called
> mymodule, then the menu function would be mymodule_hook().
>
> Steve
>
> Roy Smith wrote:
>> I'm working my way through the drupal 6.x module developers guide.   
>> In http://drupal.org/node/206761
>> , the text talks about something called hook_menu(), but the example
>> shows onthisdate_menu()?  I don't understand the relationship between
>> these two.
>>
>> I created the onthisdate_menu() function as described, but when I go
>> to the admin page, I don't see anyplace to configure the module.
>>
>>
>> ----------------
>> Roy Smith
>> roy at panix.com
>>
>>
>>
>>
> -- 
> [ Drupal support list | http://lists.drupal.org/ ]
>

----------------
Roy Smith
roy at panix.com






More information about the support mailing list