开发者

Keep CakePHP's layout but modify it

开发者 https://www.devze.com 2023-02-28 17:08 出处:网络
Is there a way to modify CakePHP\'s default layout without needing to make my own? I am in the process of developing the back-end but would like to have something easy to looking at in the front-end f

Is there a way to modify CakePHP's default layout without needing to make my own? I am in the process of developing the back-end but would like to have something easy to looking at in the front-end for testin开发者_JAVA百科g.

I know I need to make default.ctp in views/layout but but I don't want to make a layout from scratch.


Copy the default.ctp layout from cake/libs/views/layouts/ into app/views/layouts/ and modify it as needed.

0

精彩评论

暂无评论...
验证码 换一张
取 消