<HTML>
<HEAD>
<TITLE>Re: [consulting] Print Specific Message on admin/settings/admin</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>No problem adding another region, but how would people view the block when they install my theme? Can I put code into template.php to print a block for that page only? That would be a great solution.<BR>
<BR>
Holly Ferree<BR>
<BR>
<BR>
On 12/8/09 11:20 AM, "Sam Cohen" <sam@samcohen.com> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Why not just use a block? You might have to add a region if you don't have one at the top of the page, but that's very simple.<BR>
<BR>
Sam<BR>
<BR>
<BR>
On Tue, Dec 8, 2009 at 11:18 AM, Steven Jones <steven@aella.co.uk> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Hi Holly,<BR>
<BR>
You'll actually need to create a module that implements hook_help<BR>
(probably easier than it sounds).<BR>
<BR>
If you read this page:<BR>
<a href="http://drupal.org/node/206753">http://drupal.org/node/206753</a><BR>
and it's first two sub pages:<BR>
<a href="http://drupal.org/node/206754">http://drupal.org/node/206754</a><BR>
<a href="http://drupal.org/node/206756">http://drupal.org/node/206756</a><BR>
<BR>
then you'll have implemented your hook_help, and it'll be ready to<BR>
customise to your hearts desire!<BR>
<BR>
Regards<BR>
Steven Jones<BR>
<BR>
Phone : 02476 417 749<BR>
Mobile : 07702 131 576<BR>
Twitter : darthsteven<BR>
<BR>
<BR>
<BR>
2009/12/8 Holly Ferree <hferree@gmail.com>:<BR>
> I actually tried using it (so it either doesn't work or I'm doing something<BR>
> wrong...(I'd bet the later)).<BR>
> -------------------------<BR>
><BR>
> I tried in hook_help() in the template.php:<BR>
><BR>
> <?php<BR>
><BR>
> function hook_help($path, $arg) {<BR>
> switch ($path) {<BR>
><BR>
> // Help info for the administration theme page<BR>
><BR>
> case 'admin/settings/admin':<BR>
> return '<p>' . t('This theme is integrated with the color module! To<BR>
> customize this theme go to the <a<BR>
> href="/admin/build/themes/settings/accolade">settings page</a>. ') . '</p>';<BR>
> }<BR>
> };<BR>
><BR>
> ?><BR>
><BR>
> Thanks for your help,<BR>
><BR>
> Holly Ferree, Graphic Designer, BFA<BR>
> 813.786.0852<BR>
> hferree@gmail.com<BR>
> <a href="http://www.designbyholly.com/">http://www.designbyholly.com/</a><BR>
><BR>
><BR>
> On 12/8/09 5:45 AM, "Steven Jones" <steven@aella.co.uk> wrote:<BR>
><BR>
>> Or you can use hook_help:<BR>
>> <a href="http://api.drupal.org/api/function/hook_help">http://api.drupal.org/api/function/hook_help</a><BR>
>><BR>
>> Regards<BR>
>> Steven Jones<BR>
>><BR>
>> Phone : 02476 417 749<BR>
>> Mobile : 07702 131 576<BR>
>> Twitter : darthsteven<BR>
>><BR>
>><BR>
>><BR>
>> 2009/12/8 Chris Miller <chris@trailheadinteractive.com>:<BR>
>>> You can check $_GET['q'], or use the arg() function to check parts of the<BR>
>>> current path.<BR>
>>><BR>
>>> Chris.<BR>
>>><BR>
>>> On Mon, Dec 7, 2009 at 2:07 PM, Holly Ferree <hferree@gmail.com> wrote:<BR>
>>>><BR>
>>>> How do I print a specific message if the page is admin/settings/admin<BR>
>>>> (administration theme page)?<BR>
>>>><BR>
>>>> I just want a little note at the top of the page to say that the color<BR>
>>>> module can be used with the theme.<BR>
>>>><BR>
>>>><BR>
>>>> Thanks,<BR>
>>>><BR>
>>>> Holly Ferree, Graphic Designer, BFA<BR>
>>>> hferree@gmail.com<BR>
>>>> <a href="http://www.designbyholly.com/">http://www.designbyholly.com/</a><BR>
>>>><BR>
>>>><BR>
>>>> _______________________________________________<BR>
>>>> consulting mailing list<BR>
>>>> consulting@drupal.org<BR>
>>>> <a href="http://lists.drupal.org/mailman/listinfo/consulting">http://lists.drupal.org/mailman/listinfo/consulting</a><BR>
>>><BR>
>>><BR>
>>><BR>
>>> --<BR>
>>> Chris Miller<BR>
>>> Trailhead Interactive<BR>
>>> <a href="http://www.trailheadinteractive.com">http://www.trailheadinteractive.com</a><BR>
>>> 406-750-0107<BR>
>>><BR>
>>> _______________________________________________<BR>
>>> consulting mailing list<BR>
>>> consulting@drupal.org<BR>
>>> <a href="http://lists.drupal.org/mailman/listinfo/consulting">http://lists.drupal.org/mailman/listinfo/consulting</a><BR>
>>><BR>
>>><BR>
>> _______________________________________________<BR>
>> consulting mailing list<BR>
>> consulting@drupal.org<BR>
>> <a href="http://lists.drupal.org/mailman/listinfo/consulting">http://lists.drupal.org/mailman/listinfo/consulting</a><BR>
><BR>
><BR>
><BR>
> _______________________________________________<BR>
> consulting mailing list<BR>
> consulting@drupal.org<BR>
> <a href="http://lists.drupal.org/mailman/listinfo/consulting">http://lists.drupal.org/mailman/listinfo/consulting</a><BR>
><BR>
_______________________________________________<BR>
consulting mailing list<BR>
consulting@drupal.org<BR>
<a href="http://lists.drupal.org/mailman/listinfo/consulting">http://lists.drupal.org/mailman/listinfo/consulting</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'>_______________________________________________<BR>
consulting mailing list<BR>
consulting@drupal.org<BR>
<a href="http://lists.drupal.org/mailman/listinfo/consulting">http://lists.drupal.org/mailman/listinfo/consulting</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'><BR>
<BR>
</SPAN></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Holly Ferree, Graphic Designer, BFA<BR>
813.786.0852<BR>
hferree@gmail.com<BR>
<a href="http://www.designbyholly.com/">http://www.designbyholly.com/</a><BR>
</SPAN></FONT>
</BODY>
</HTML>