I studied THINKCMF for the first time last night. Create a blog module against the manual, in the background when setting up the blog module status. The problem is as follows:
-
As long as the browser login, even if the first page is not logged in, still can go into the application module backstage (Blog/indexadmincontroller), see the Controller index method echo content. How is this problem broken?
-
After changing the browser to enter the background path of the module can enter the login interface, but this background is not the module of the background controller (indexadmin), but the admin module of the public controller login method, this is what back, is not meant to be shared in the background? As long as a place to publish articles, the whole network universal?
-
I found that through the module jump to the admin login system, again through the module path (indexadminController.class.php) into the controller echo into the content, rather than into the system backstage, since this is the case, what is the use? Is it possible to use your own backstage in the Indexadmin controller display ()?
Reply content:
I studied THINKCMF for the first time last night. Create a blog module against the manual, in the background when setting up the blog module status. The problem is as follows:
-
As long as the browser login, even if the first page is not logged in, still can go into the application module backstage (Blog/indexadmincontroller), see the Controller index method echo content. How is this problem broken?
-
After changing the browser to enter the background path of the module can enter the login interface, but this background is not the module of the background controller (indexadmin), but the admin module of the public controller login method, this is what back, is not meant to be shared in the background? As long as a place to publish articles, the whole network universal?
-
I found that through the module jump to the admin login system, again through the module path (indexadminController.class.php) into the controller echo into the content, rather than into the system backstage, since this is the case, what is the use? Is it possible to use your own backstage in the Indexadmin controller display ()?
1, you can enter without logging in, you may not be in the controller to determine the login.
2, output echo content, you may not have created the corresponding view.
used the CMF.
1.你的模块需要继承CMF自己的控制器,他在控制器做了一些校验处理。2.后台肯定是龚用的,只是权限不同。