I agree with AD. Re-theming is a good practice. I have created a couple mobile apps, with Cake, it's easy to create different layouts for mobile platforms.
In your controller you can use the layout property $this->layout = 'your_mobile_layout'; I normally use this in the beforeRender() callback, making use of the RequestHandler->isMobile() with any other customized USER_AGENT stuff that you want to do. Most of my actual views stay the same, because they are simple html for the most part. Then this is where Jeremy point comes around... the CSS is a big part of styling for mobile browsers. So, morale of the story... get a good CSS template of mobile boiler plate, save it as a new layout document, then use that to run the mobile version. Depending on the functionality, I have seen people use a mobile prefix, then you can customize the actual requests, when necessary. I have never need to get that granular... but whatever you need to do. -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php