Hi John My Mistake
It's /app/views/layouts/default.ctp (default.ctp doesn't exist by default) The file exists in the cake folder which is what is in use now. When you create the file in the app folder, cakephp uses the app version instead of the cake (engine) version. Bear this in mind if you ever try to edit anything in /cake/ ... You can usually extend it (override it) and if not, there's usually a better way to do what you're trying. This should help: http://book.cakephp.org/view/96/Layouts On 22 December 2010 13:03, John Maxim <goog...@gmail.com> wrote: > From Cake > *\cake\libs\view\layouts\default.ctp > > To my App > *\app\views\layouts\ > > I remove default.ctp from Cake, and place a new one in my App (First > method) > > I create a new one and place in my App, then call from Controller ? > (Second method) > > Am I right ? > > Can you please confirm if my paths above are correct? I notice Stephen > said: > ---------------- > Just to expand on what Amit said, you can override the default layout > by > creating: > > /app/layouts/default.ctp > ----------------------------------------------------- > Hi Stephen, The path you mentioned above can't be found, is that > creating a folder in app folder called layouts? > ---------------------------------------------------- > I have no idea how to write from scratch a new layout, I can't find > the css file. Where is it? Is there a tutorial to create a new layout > for cakephp ? > > > > On Dec 22, 6:53 pm, "Mike Karthauser" <mi...@brightstorm.co.uk> wrote: > > On Wed, December 22, 2010 10:29 am, John Maxim wrote: > > > Hi, > > > > > I'd like to change the default layout, Cakephp, to my own design, is > > > it compulsory we have to leave the logo Cakephp at the bottom right of > > > the page, and a Cakephp.org link at the top left of the page ? > > > > copy default.ctp out of the cake/libs/view/layouts/ directory into > > views/layouts within your appllication. you can then do what you like to > > it (including removing cakephp credits) > > > > > Is there a way to replace the default favicon ? > > > > yes. edit css. > > > > > > > > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help > others > > > with their CakePHP related questions. > > > > > You received this message because you are subscribed to the Google > Groups > > > "CakePHP" group. > > > To post to this group, send email to cake-php@googlegroups.com > > > To unsubscribe from this group, send email to > > > cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For > > > more options, visit this group > > > athttp://groups.google.com/group/cake-php?hl=en > > > > -- > > Mike Karthauser > > Managing Director - Brightstorm Ltd > > > > Email: mi...@brightstorm.co.uk > > Web:http://www.brightstorm.co.uk > > Tel: 07939 252144 (mobile) > > Fax: 0870 1320560 > > > > Address: 1 Brewery Court, North Street, Bristol, BS3 1JS > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to cake-php@googlegroups.com > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > -- Kind Regards Stephen @ NinjaCoderMonkey www.ninjacodermonkey.co.uk Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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?hl=en