开发者

Remove the default interface CakePHP links in default Cake apps?

How do I get rid of the default "CakePHP: the rapid development php framework" link that shows up on the top left on every page of Cake app's with default configurations? It's not part of the view, and the only way I can think of is to display:none the div in the CSS.

I'm thinking开发者_C百科 there has to be some setting in the app's configuration.


Modify app/views/layouts/default.ctp

If no view exists in that location, check cake/libs/views/layout/default.ctp


You are using the default layout, which you can override by creating your own layout file in app/views/layouts/default.ctp. See the layout section in the cookbook for more information about layouts.


In addition to @dhofstet you can make simple copy from cake/libs/views/layout/default.ctp and place it in your app/views/layouts/default.ctp and modify.


read this article http://learneveryday.net/php/framework/cake-php/beginners-cake-php-framework-php/remove-the-default-interface-cakephp-links-in-default-cake-apps/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜