I want bake.php to create my controller with default actions baked in (index, edit, add, etc) and I want bake.php to create my views for these actions as well.
All works great. I want to change the template it uses for say the index so I can add something to all index.thtml files that are baked so I make a change to: \cake\cake\libs\view\templates\scaffolds\index.thtml and re-run baking the view and the view is NOT CHANGED...nothing I put in that template is displayed. If I bake the controller so all it does is use scaffolding, it then reads the template I mention above and everything shows up. I want to know where the template is read from when you bake your controller and view so that the functions and view are explicitly put in the controller. Where does that view template live? I have searched all the entire codebase for <ul class="actions"> something that is in the index.thtml that is generated and I find in the file I mention above but changing that file doesn't change the index.thtml that gets baked. Any insight would be appreciated!!! -- View this message in context: http://www.nabble.com/Where-do-the-templates-for-default-views-live----not-the-ones-in-the-scaffolds-dir-tf4655647.html#a13302623 Sent from the CakePHP mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
