Re: Mobile websites using cakephp

2011-12-14 Thread Geoff Douglas
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

Re: Mobile websites using cakephp

2011-12-14 Thread Jeremy Burns | Class Outfit
Fair point. I'm not speaking from experience (although I need to get some). Jeremy Burns Class Outfit http://www.classoutfit.com On 14 Dec 2011, at 10:58:41, AD7six wrote: > > > On Dec 14, 7:49 am, shinu thomas wrote: >> I have created a website using cake php.I want to redesign it to >> mo

Re: Mobile websites using cakephp

2011-12-14 Thread AD7six
On Dec 14, 7:49 am, shinu thomas wrote: > I have created a website using cake php.I want to redesign it to > mobile version.Is their any template to create mobile website using > Existing ctp files.Or i need to create separate views for mobile > browsers.can any body tell me some details about t

Re: Mobile websites using cakephp

2011-12-14 Thread Jeremy Burns | Class Outfit
You shouldn't create new views; the views should be dynamic based on the browser type/size using CSS. Best bet is to look at some of the CSS templates out there. Bootstrap from Twitter and HTML5 Boilerplate are a couple of examples. Jeremy Burns Class Outfit http://www.classoutfit.com On 14 D