Well the entire directory structure is no longer the same as you cited, so that might be one problem. Also if you are planning on playing with 2.0, I would use the git checkout, as the packaged release is a bit out of sync.
-Mark On May 15, 6:54 am, Signified <[email protected]> wrote: > 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? > > Structure as follows: > > app/views/themed/mobile/layouts/default.ctp > app/views/themed/mobile/pages/home.ctp > > Then in app/app_controller.php: > > public function beforeRender() > { > if ($this->RequestHandler->isMobile()) { > $this->view = 'Theme'; > $this->theme = 'mobile'; > } > > } > > 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. > > Any ideas anyone? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
