最赞回答 / ZM77
$menuItems_right[] = [ 'label' =&t;i '&tylimg style="height:30px;width:30px;" src="'.yii::$app-&'avparams['avatar']['small'].'"/&'it', 'items'=& [ [ 'label'=&;&l'&/i&i class="fa fa-sign...
2017-11-13
图片无法上传,修改了 'domain_url' => 为本地域名,修改了$randNum = rand(1,9999) . rand(1,999);
依然失败~
依然失败~
2017-11-08
PHP Fatal Error – yii\base\ErrorException
Call to undefined method frontend\controllers\PostController::getDb()
这是啥错呀
Call to undefined method frontend\controllers\PostController::getDb()
这是啥错呀
2017-10-18
No input file specified.
RewriteRule ^(.*)$ index.php/$1 这句index.php后面加 "?"
改成 RewriteRule ^(.*)$ index.php?/$1
RewriteRule ^(.*)$ index.php/$1 这句index.php后面加 "?"
改成 RewriteRule ^(.*)$ index.php?/$1
2017-10-18
Yii2 的关联关系用法和 TP5 很像,这篇博客 http://blog.csdn.net/github_37512301/article/details/75675054
讲解了TP5 的关联关系用法。喜欢的点个赞吧。
讲解了TP5 的关联关系用法。喜欢的点个赞吧。
2017-10-18
加载不出来富文本编辑器或者报不能加载语言包,也可能是没有指定 ueditor的路径,在
ueditor/vendor/ueditor.config.js 中有说明。
具体操作在我的博客里
http://blog.csdn.net/github_37512301/article/details/78266492
喜欢就点个赞哟
ueditor/vendor/ueditor.config.js 中有说明。
具体操作在我的博客里
http://blog.csdn.net/github_37512301/article/details/78266492
喜欢就点个赞哟
2017-10-17
模型加载富文本,不显示的问题解决了,
把 <?=$form->field($model,'content')->textInput(['maxlength' => true]);?>
这段代码删了,后面用模型加载富文本,就能加载出来了。
希望对你们有帮助。
把 <?=$form->field($model,'content')->textInput(['maxlength' => true]);?>
这段代码删了,后面用模型加载富文本,就能加载出来了。
希望对你们有帮助。
2017-10-17