title: Zend Framework 2 - Set Template Path for Module
body: <p>I googled alot and couldn't come up with an answer...</p>
  
  <p>I'm using the <a href="http://framework.zend.com/manual/2.0/en/index.html#userguide" rel="nofollow">tutorial-skeleton application</a>. It automatically includes under 'view/album/album' the html files corresponding to my actions like add or index.</p>
  
  <p>I'm using a submodule and the standard loading won't find my html-files. I followed <a href="http://samminds.com/2012/08/changing-the-view-template-view-script/" rel="nofollow">this guide</a> for setting a custom template path. This works for the index because here I use a <code>ViewModel</code> instance.</p>
  
  <p>But my add/delete/edit actions just return an array like <a href="http://framework.zend.com/manual/2.0/en/user-guide/forms-and-actions.html#editing-an-album" rel="nofollow">this one</a>.</p>
  
  <p>Is there a way to tell <code>Zend</code> that it should use a different directory to look for the views?</p>
  
  <p>PS: I also tried this <a href="http://ctrl-f5.net/php/custom-default-templates-in-zf2/" rel="nofollow">injectTemplate approach</a> but no luck. It just sets the Controller namespace/path which is ok in my case.</p>