CakePHP 和脚手架视图
在哪里可以编辑脚手架视图? 在《蛋糕书》中包含以下信息: <代码>
But it's not work for my application. So, how to edit scaffold views?Custom scaffolding views for a specific controller (PostsController in this example) should be placed like so:
/app/views/posts/scaffold.index.ctp /app/views/posts/scaffold.show.ctp /app/views/posts/scaffold.edit.ctp /app/views/posts/scaffold.new.ctp
所有控制器的自定义脚手架视图应如下放置:
/app/views/scaffolds/index.ctp /app/views/scaffolds/show.ctp /app/views/scaffolds/edit.ctp /app/views/scaffolds/new.ctp /app/views/scaffolds/add.ctp
Where can I edit scaffold views?
In Cake Book is information about:
Custom scaffolding views for a specific controller (PostsController in this example) should be placed like so:/app/views/posts/scaffold.index.ctp /app/views/posts/scaffold.show.ctp /app/views/posts/scaffold.edit.ctp /app/views/posts/scaffold.new.ctp
Custom scaffolding views for all controllers should be placed like so:
/app/views/scaffolds/index.ctp /app/views/scaffolds/show.ctp /app/views/scaffolds/edit.ctp /app/views/scaffolds/new.ctp /app/views/scaffolds/add.ctp
But it's not work for my application. So, how to edit scaffold views?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论