8 Dec
2009
8 Dec
'09
5:39 p.m.
Andrew Berry wrote:
On 2009-12-08, at 11:16 AM, Holly Ferree wrote:
I actually tried using hook_help (so it either doesn't work or I'm doing something wrong...(I'd bet the later)).
I'm pretty sure that hook_help() is only available within modules, and not themes:
Besides which, if you wanted to implement hook_help(), the function name would be changed to mymodulename_help(). Defining a function called hook_help() wouldn't work -- that function would never be called by Drupal core. Check out the module developers tutorial on drupal.org, which might clear up some confusion about how to implement hooks. --Jennifer -- Jennifer Hodgdon * Poplar ProductivityWare www.poplarware.com Drupal, WordPress, and custom Web programming