[development] Hook_help()

Steven Jones steven.jones at computerminds.co.uk
Tue Dec 8 16:19:11 UTC 2009


Hi Holly,

I've just replied to your other email on the consulting list. All the
answers are there!

Regards
Steven Jones
ComputerMinds ltd - Perfect Drupal Websites

Phone : 024 7666 7277
Mobile : 07702 131 576
Twitter : darthsteven
http://www.computerminds.co.uk



2009/12/8 Holly Ferree <hferree at gmail.com>:
> I want to put a specific help message on admin/settings/admin. I am creating
> a theme that I plan to upload to the drupal projects board for free use. So
> I want it to tell people that it can be colorized.
>
> I actually tried using hook_help (so it either doesn't work or I'm doing
> something wrong...(I'd bet the later)).
> -------------------------
>
> I tried in hook_help() in the template.php:
>
> <?php
>
> function hook_help($path, $arg) {
>  switch ($path) {
>
>    // Help info for the administration theme page
>
>    case 'admin/settings/admin':
>      return '<p>' . t('This theme is integrated with the color module! To
> customize this theme go to the <a
> href="/admin/build/themes/settings/accolade">settings page</a>. ') . '</p>';
>  }
> };
>
> ?>
>
> Does anyone know what I did wrong?
>
> Thanks for your help,
>
> Holly Ferree, Graphic Designer, BFA
> 813.786.0852
> hferree at gmail.com
> http://www.designbyholly.com/
>
>
>


More information about the development mailing list