I’m new to CakePHP. I’m keen to use the scaffolding feature to quickly generate views, and then to use bake to generate views that I can edit.
I have created custom scaffold views in app/views/scaffolds so that my scaffolded views fit in with the layout of my application. Is there any way that, when I bake views, they are based on the custom scaffolding views I created, rather than on generic views as they seem to be?
I think you have your concepts a little bit mixed up here. It’s really just a matter of clarifying the terms:
So for your issue, you can probably just (temporarily) replace the files in cake/libs/view/scaffolds. I would also suggest that you replace the original scaffolding at that point, as its generally a bad practice to modify the files in the cake/ directory.
At that point, you should have the views that you want, all ready to go in your app/views directory. I would suggest from now on that you bake before you modify, so that you can just modify the views rather than having to deal with the process above.