title: Relocating Cake's default layouts folder
body: <p>I'm working on a CakePHP 1.2 app where I don't have control over the /app directory and have relocated my views folder to, say /path/to/mycomponent/views and can render my views by setting my controller's default view path</p>
  
  <pre><code>var $viewPath = "mycomponent/views";
  </code></pre>
  
  <p>I have some layouts (including basic.ctp) under /path/to/mycomponent/views/layouts</p>
  
  <p>Is there a way to render my views inside a specific layout?</p>
  
  <p>Calling this from my controller gives me a page not found error:</p>
  
  <pre><code>function index()
      {
          $this-&gt;autoLayout = true;
          $this-&gt;pageTitle = 'Browse items';
          $this-&gt;render("browse", "basic");
          // also tried: $this-&gt;render("browse", "/path/to/mycomponent/views/layouts/basic.ctp");
      }
  </code></pre>