Remove CakePHP interface default links in Cake apps by default?

How do I get rid of the default β€œ CakePHP: the rapid development php framework ” link that appears in the upper left corner of each page of the Cake application with the default settings? This is not part of the view, and the only way I can think of is to display:none div in CSS.

I think that there should be some kind of configuration in the application configuration.

+4
source share
4 answers

Edit app/views/layouts/default.ctp

If there is no view at this point, check cake/libs/views/layout/default.ctp

+10
source

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

+3
source

In addition to @dhofstet, you can make a simple copy from cake / libs / views / layout / default.ctp and put it in your application /views/layouts/default.ctp and change it.

0
source

Source: https://habr.com/ru/post/1312155/


All Articles