V9前台静态有时候不显示更新用户的用户名,具体修改方法如下:
首先要在根目录文件里面找到content_model.class.php文件,用EditPlus工具或者其他编辑器工具打开
content_model.class.php第120行
$urls['data']['username'] = $systeminfo['username']; //end
html.class.php第29行:
//必须要在这里获取传递过来的数组值 $username=$data['username'];
edit_content方法,约280行:
/*编辑部分从主表数据库中查出用户名,传递模版*/ $temp = $this->get_one(array(‘id’=>$id)); $urls['data']['username'] = $temp['username']; //end
本站,大量的免费PHPCMS教程,欢迎在线学习!
以上就是phpcms作者名不显示怎么解决的详细内容,更多请关注本站其它相关文章!
- THE END -
最后修改:2021年1月19日
非特殊说明,本博所有文章均为博主原创。
如若转载,请注明出处:https://www.xuanloog.cn/559.html