As you are talking of a template.php file, I get you are talking of theme code. The only hooks a theme can implement are alter hooks (the ones called with drupal_alter() and with a name ending in _alter), in Drupal 7. (Theme functions are not hooks.)

If you look at the code of drupal_alter(), you will notice it contains the following lines.

// Allow the theme to alter variables after the theme system has been
// initialized.
global $theme, $base_theme_info;
if (isset($theme)) {
  $theme_keys = array();
  foreach ($base_theme_info as $base) {
    $theme_keys[] = $base-&gt;name;
  }
  $theme_keys[] = $theme;
  foreach ($theme_keys as $theme_key) {
    $function = $theme_key . '_' . $hook;
    if (function_exists($function)) {
      $functions[$cid][] = $function;
    }
    if (isset($extra_types)) {
      foreach ($extra_types as $extra_type) {
        $function = $theme_key . '_' . $extra_type . '_alter';
        if (function_exists($function)) {
          $functions[$cid][] = $function;
        }
      }
    }
  }
}


Differently, module_implements() (used from any function that invokes hooks) doesn't check hooks implemented by themes.

Getting libraries to load with newer jQuery using jqmulti
I'm attempting to install and activate a feature containing a Timer Job. When I execute the install-spfeature cmdlet I get the following error. What is the source of my error?

PS C:\Users\crmadmin&gt; install-spfeature AltirisOpsListFeature
Install-SPFeature : Required tag 'http://schemas.microsoft.com/sharepoint/:Feat
ure' is missing from XML file 'feature.xml', found 'Feature' instead.
At line:1 char:18
+ install-spfeature &lt;&lt;&lt;&lt;  AltirisOpsListFeature
+ CategoryInfo          : InvalidData: (Microsoft.Share...tInstallFeature:
SPCmdletInstallFeature) [Install-SPFeature], ArgumentException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletInstallF
eature


The feature folder has been added to the 14\Template\Features directory, the Feature.xml file exists and is the following, 

&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;Feature   xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core"         dslVersion="1.0.0.0" Id="58dce6e3-0444-4122-8aa6-08e35345e03e" FeatureId="58dce6e3-0444-4122-8aa6-08e35345e03e" ImageUrl=""     ReceiverAssembly="$SharePoint.Project.AssemblyFullName$" ReceiverClass="$SharePoint.Type.bde159bf-eac9-44cd-a06a-df7bfb0e912e.FullName$" Scope="Site" SolutionId="00000000-0000-0000-0000-000000000000" Title="AltirisOpsListFeature" Version="" DeploymentPath="$SharePoint.Project.FileNameWithoutExtension$_$SharePoint.Feature.FileNameWithoutExtension$" Xmlns="http://schemas.microsoft.com/VisualStudio/2008/SharePointTools/FeatureModel" /&gt;


I appreciate any assistance.
