<html><head></head><body bgcolor="#FFFFFF"><div>I did try using that function, but two things, into which structure do you deposit the content, and if I display the region name, it seems this doesn't fire for the empty region.<br><br>Sent from my iPhone</div><div><br>On Jun 1, 2012, at 10:53 AM, Benj Fredrick &lt;<a href="mailto:benj.fredrick@gmail.com">benj.fredrick@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>I don't know that it's the Right Way or the Best Way, but I have used template_preprocess_region() to add content to an empty region from template.php.&nbsp;<div><br></div><div>hope that helps,</div><div>-Benj</div><div>
<br><br><div class="gmail_quote">On Thu, May 31, 2012 at 5:54 PM, Jeff Greenberg <span dir="ltr">&lt;<a href="mailto:listmail.ayendesigns@gmail.com" target="_blank">listmail.ayendesigns@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I was asking a slightly different question in the themes list, but I've narrowed down my issue, and believe it's more of a support question than a theme development question.<div>
<br></div><div>I am trying to add content to a region from within template.php. The region has no content prior to doing this.</div>
<div><br></div><div>I have tried drupal_add_region_content() from template_preprocess_page, template_preprocess_html and template_preprocess_region.</div><div><br></div><div>I've also tried just making an assignment to $vars[page][my_region][my_section_name][content][#markup] from the same functions.</div>

<div><br></div><div>Nothing results in output. Do I have to do it using hook_page_build from a module?</div>
<br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>-- </span><br><span>[ Drupal support list | <a href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]</span></div></blockquote></body></html>