title: Magento: How can i assign a block to a parent block added to a CMS page
body: <p>I hope you can understand my question!!</p>
  
  <p>The question below is to do with assigning and referencing blocks within a Magento CMS Page.</p>
  
  <h2>The Problem</h2>
  
  <p>I have a cms page called Home page. The content of this page is</p>
  
  <pre><code>{{block type='core/template' name='homepage_html' template='page/html/homepage.phtml'}}
  </code></pre>
  
  <p>In page/html/homepage.phtml i have some basic html for my sites homepage.</p>
  
  <p><strong>-> Up to this point everything works fine.</strong></p>
  
  <p>I want to pull in my latest posts from my aw_blog module. I have a file aw_blog/homepage_posts.phtml that works perfectly if i add this code to cms.xml</p>
  
  <pre><code>&lt;cms_index_index translate="label"&gt;
      &lt;reference name="content"&gt;
          &lt;block type="blog/blog" name="home_blog" template="aw_blog/homepage_posts.phtml"/&gt;
      &lt;/reference&gt;
  &lt;/cms_index_index&gt;
  </code></pre>
  
  <p>The trouble with this is it adds the posts under the content in my page/html/homepage.phtml file.</p>
  
  <p>I have this line in my page/html/homepage.phtml where i would like the list of posts to appear</p>
  
  <pre><code>&lt;?php echo $this-&gt;getChildHtml('home_blog') ?&gt;
  </code></pre>
  
  <p>and have tried referencing homepage_html in place of content in my cms.xml file</p>
  
  <pre><code>&lt;cms_index_index translate="label"&gt;
      &lt;reference name="homepage_html"&gt;
          &lt;block type="blog/blog" name="home_blog" template="aw_blog/homepage_posts.phtml"/&gt;
      &lt;/reference&gt;
  &lt;/cms_index_index&gt;
  </code></pre>
  
  <p>but no joy!!!</p>
  
  <h2>The Question</h2>
  
  <p>So my question to you is, is there a way to assign the latest post block to the homepage_html block in order to draw in the latest posts using the $this->getChildHtml() method.</p>
  
  <p>Thanks for your time.</p>