<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'>Yeah, that&#8217;s my question with it...I&#8217;d hate for someone to have to download a specific module in order to use my theme. And although I was hoping for some impressive and easy solution, my backup is creating page-admin-settings-admin.tpl.php and inserting the phrase at the top in a help tag. :)<BR>
<BR>
Thanks everyone for your help.<BR>
<BR>
Holly Ferree<BR>
<BR>
<BR>
On 12/8/09 11:19 AM, &quot;Aaron Winborn&quot; &lt;winborn@advomatic.com&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Unfortunately, I don't know if a module can be packaged with a theme...<BR>
<BR>
Steven Jones wrote: <BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> <BR>
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 &lt;hferree@gmail.com&gt; <a href="mailto:hferree@gmail.com">&lt;mailto:hferree@gmail.com&gt;</a> :<BR>
&nbsp;&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> <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>
&lt;?php<BR>
<BR>
function hook_help($path, $arg) {<BR>
&nbsp;switch ($path) {<BR>
<BR>
&nbsp;&nbsp;&nbsp;// Help info for the administration theme page<BR>
<BR>
&nbsp;&nbsp;&nbsp;case 'admin/settings/admin':<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return '&lt;p&gt;' . t('This theme is integrated with the color module! To<BR>
customize this theme go to the &lt;a<BR>
href=&quot;/admin/build/themes/settings/accolade&quot;&gt;settings page&lt;/a&gt;. ') . '&lt;/p&gt;';<BR>
&nbsp;}<BR>
};<BR>
<BR>
?&gt;<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, &quot;Steven Jones&quot; &lt;steven@aella.co.uk&gt; <a href="mailto:steven@aella.co.uk">&lt;mailto:steven@aella.co.uk&gt;</a> &nbsp;wrote:<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> <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 &lt;chris@trailheadinteractive.com&gt; <a href="mailto:chris@trailheadinteractive.com">&lt;mailto:chris@trailheadinteractive.com&gt;</a> :<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> <BR>
You can check $_GET['q'], or use the arg() function to check parts of the<BR>
current path.<BR>
<BR>
&nbsp;&nbsp;Chris.<BR>
<BR>
On Mon, Dec 7, 2009 at 2:07 PM, Holly Ferree &lt;hferree@gmail.com&gt; <a href="mailto:hferree@gmail.com">&lt;mailto:hferree@gmail.com&gt;</a> &nbsp;wrote:<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> <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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> <BR>
<BR>
<BR>
--<BR>
&nbsp;Chris Miller<BR>
&nbsp;Trailhead Interactive<BR>
&nbsp;<a href="http://www.trailheadinteractive.com">http://www.trailheadinteractive.com</a><BR>
&nbsp;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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> <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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> <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>
&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> <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>
&nbsp;&nbsp;<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><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>
</SPAN></FONT>
</BODY>
</HTML>