title: How do I use "Main Layout" views in a multi module Phalcon application?
body: <p>I am using a "multi module" MVC structure for my PhalconPHP application.</p>
  
  <p>One issue I am trying to figure out is how I can configure my "Main Layout" view to be <em>above</em> the module view folders.</p>
  
  <p>In other words I want one master "Main Layout" (<a href="http://docs.phalconphp.com/en/latest/reference/views.html#using-views" rel="noreferrer">as described here</a>) and I want all my modules to output their views at "Controller View" level within that main layout view.</p>
  
  <p>At default it appears the Main Layout view is being taken from</p>
  
  <pre><code>[app]
   [module1]
      [controllers]
      [models]
      [views]
          (main layout is coming from here)
   [module2]
      [controllers]
      [models]
      [views]
          (main layout is coming from here)
   [views]
      (master main layout should come from here?)
  </code></pre>
  
  <p>I hope this makes sense!</p>