[consulting] Print Specific Message on admin/settings/admin
Steven Jones
steven at aella.co.uk
Tue Dec 8 16:18:11 UTC 2009
Hi Holly,
You'll actually need to create a module that implements hook_help
(probably easier than it sounds).
If you read this page:
http://drupal.org/node/206753
and it's first two sub pages:
http://drupal.org/node/206754
http://drupal.org/node/206756
then you'll have implemented your hook_help, and it'll be ready to
customise to your hearts desire!
Regards
Steven Jones
Phone : 02476 417 749
Mobile : 07702 131 576
Twitter : darthsteven
2009/12/8 Holly Ferree <hferree at gmail.com>:
> I actually tried using it (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>';
> }
> };
>
> ?>
>
> Thanks for your help,
>
> Holly Ferree, Graphic Designer, BFA
> 813.786.0852
> hferree at gmail.com
> http://www.designbyholly.com/
>
>
> On 12/8/09 5:45 AM, "Steven Jones" <steven at aella.co.uk> wrote:
>
>> Or you can use hook_help:
>> http://api.drupal.org/api/function/hook_help
>>
>> Regards
>> Steven Jones
>>
>> Phone : 02476 417 749
>> Mobile : 07702 131 576
>> Twitter : darthsteven
>>
>>
>>
>> 2009/12/8 Chris Miller <chris at trailheadinteractive.com>:
>>> You can check $_GET['q'], or use the arg() function to check parts of the
>>> current path.
>>>
>>> Chris.
>>>
>>> On Mon, Dec 7, 2009 at 2:07 PM, Holly Ferree <hferree at gmail.com> wrote:
>>>>
>>>> How do I print a specific message if the page is admin/settings/admin
>>>> (administration theme page)?
>>>>
>>>> I just want a little note at the top of the page to say that the color
>>>> module can be used with the theme.
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Holly Ferree, Graphic Designer, BFA
>>>> hferree at gmail.com
>>>> http://www.designbyholly.com/
>>>>
>>>>
>>>> _______________________________________________
>>>> consulting mailing list
>>>> consulting at drupal.org
>>>> http://lists.drupal.org/mailman/listinfo/consulting
>>>
>>>
>>>
>>> --
>>> Chris Miller
>>> Trailhead Interactive
>>> http://www.trailheadinteractive.com
>>> 406-750-0107
>>>
>>> _______________________________________________
>>> consulting mailing list
>>> consulting at drupal.org
>>> http://lists.drupal.org/mailman/listinfo/consulting
>>>
>>>
>> _______________________________________________
>> consulting mailing list
>> consulting at drupal.org
>> http://lists.drupal.org/mailman/listinfo/consulting
>
>
>
> _______________________________________________
> consulting mailing list
> consulting at drupal.org
> http://lists.drupal.org/mailman/listinfo/consulting
>
More information about the consulting
mailing list