This is a simple code to hide fields in scaffolding views. In the controller add the method beforeRender in this way: public function beforeRender() { $action = $this->request->params['action']; if ($action == 'index') { $fields = array('id', 'username', 'role', 'created',…