phpcms v9发布文章不显示用户名的解决方法

V9前台静态有时候不显示更新用户的用户名,具体修改方法如下

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

相关文章

本教程操作系统:Windows10系统、phpcms 9版本、Dell G3电脑...
PHPcms访问特点:单一入口模式。无论访问任何一个模块或者功...
例如:{pc:contentaction="position"posid="...
首先,上图之中的红色框框是没有的,我们想要给他加上,当然...
头部<metaname="keywords"content="{$SEO...
做网站时用的到的简单的栏目导航()phpcms多个栏目catidin(9,...