Excellent tips from Mark Story, which popped up on IRC yesterday…
They are very useful to some, I can imagine… so here it goes…
How to modify your scaffolding HTML
(If using var $scaffold for prototyping your app)
- Go into: cake/libs/views/scaffolds
- Notice the 3 files there (add/edit actions work in the same manner)
- Copy them to your: app/views/scaffolds
- Make changes to the HTML output as you wish
How to modify your “bake” HTML output
(If you are using bake console this one is quite important)
- Go into: cake/console/libs/templates/views
- Notice the 4 files there
- Copy them to your: app/vendors/shells/templates/views
- Make changes to the HTML output to control the way “bake” builds your views
Simple, but powerful… thanks, Mark!