title: Themes in CakePHP 2.0.0-dev
body: <p>Trying to set up a mobile theme in CakePHP 2.0.0-dev, but it isn't working as it did in 1.3. Have there been any changes to the themes implementation in 2.0?</p>
  
  <p>Structure as follows:</p>
  
  <pre><code>app/views/themed/mobile/layouts/default.ctp
  app/views/themed/mobile/pages/home.ctp
  </code></pre>
  
  <p>Then in app/app_controller.php:</p>
  
  <pre><code>public function beforeRender()
  {
      if ($this-&gt;RequestHandler-&gt;isMobile()) {
          $this-&gt;view = 'Theme';
          $this-&gt;theme = 'mobile';
      }
  }
  </code></pre>
  
  <p>Hit the home page... But no mobile site... Just the normal site. No errors, nothing in debug or error logs. No errors, no exceptions. Nothing. As if themes have been deprecated or something.</p>
  
  <p>Any ideas anyone?</p>