title: Setting the page title, meta description and keywords from the Block / phtml template in magento widget
body: <p>I created a dynamic landing page widget for manufacturers, where  the widget would then create a dynamic landing page with links to categories, showing only the categories that are that have products by that manufacturer.</p>
  
  <p>As part of this, I am trying to set the page title using this code</p>
  
  <pre><code>protected function _toHtml()
      {
       ......(build the page logic and stuff)
  
         $head = $this-&gt;getLayout()-&gt;getBlock('head');
         $head-&gt;setTitle($title);
         $head-&gt;setKeywords($keywords);
         $head-&gt;setDescription($description);
    }
  </code></pre>
  
  <p>But for some reason this doesn't do anything, as the title is set by the page / cms page - block that calls the widget.</p>
  
  <p>Any ideas how to do this?</p>