title: Drupal *_preprocess with a module
body: <p>I'm new to Drupal dev, and was trying to add an existing region variable to my module's preprocessor function.</p>
  
  <p>Basically, I've created a new region for my site (here's the definition from within side my theme's .info file):</p>
  
  <pre><code>regions[feeds] = Feeds
  </code></pre>
  
  <p>From Administer->Blocks, I've added the blocks I want to the new "Feeds" region.</p>
  
  <p>Then, from another module, the "Advanced Front Page" module, I'm trying to add some PHP to my "front page" inside this module. The Advanced Front Page module just allows the site to have a landing page, instead of immediately viewing a list of other site content, etc. I've enabled PHP for the content area, and then added the following:</p>
  
  <pre><code>&lt;div&gt;
      &lt;?php print $feeds; ?&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>It does not print the "Feeds" region, and I believe it's because that region variable is not accessible from outside of the page.tpl.php file. So after looking around, I came upon these links:</p>
  
  <p><a href="http://drupal.org/node/223430" rel="nofollow noreferrer">http://drupal.org/node/223430</a></p>
  
  <p><a href="http://drupal.org/node/237391" rel="nofollow noreferrer">http://drupal.org/node/237391</a></p>
  
  <p>From there, I tried to add a preprocessor function for the module "Advanced Front Page", which has a module name of "front_page" (or possibly just "front", I'm not 100% sure). Here's my preprocessor function, that I tried to add to both my template.php file, and the /modules/front/front_page.module file (not at the same time, mind you):</p>
  
  <pre><code>function front_preprocess(&amp;$vars)
  {
   $vars['feeds'] = theme('blocks', 'feeds');
  }
  </code></pre>
  
  <p>Regardless of where I've placed this file (template.php or front_page.module) it doesn't seem to do anything. Any idea where I might be going wrong?</p>