You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you start using Yii2-blog you will probably find that you need to override the default views provided by the module.
138
143
Although view names are not configurable, Yii2 provides a way to override views using themes. To get started you should
@@ -158,7 +163,8 @@ if a view exists in the theme directory it will be used instead of the original
158
163
> **NOTE:** Just copy all necessary views from `@akiraz2/yii2-blog/views/frontend/default` to `@app/views/blog` and change!
159
164
160
165
161
-
### How to change upload path Imperavi Redactor widget
166
+
167
+
**How to change upload path Imperavi Redactor widget**
162
168
163
169
Yii2 blog module use imperavi redactor 2 Module [https://github.com/yiidoc/yii2-redactor](https://github.com/yiidoc/yii2-redactor) with moduleName "redactorBlog".
164
170
@@ -185,11 +191,12 @@ Config backend modules in backend/config/main.php
185
191
```
186
192
187
193
188
-
### How to change captcha in Comments
194
+
**How to change captcha in Comments**
189
195
190
196
Not yet... If you are using Recaptcha2 in your project with my yii2-blog, please PR me!
191
197
192
-
### User model
198
+
**User model**
199
+
193
200
Module Yii2-Blog use `common\models\User`, so if you use custom user component or Module like
194
201
[dektrium/yii2-user](https://github.com/dektrium/yii2-user), you should create model under path `common\models\User` with overriding your user-model.
195
202
@@ -205,7 +212,7 @@ Module Yii2-Blog use `common\models\User`, so if you use custom user component o
205
212
}
206
213
```
207
214
208
-
### CustomAdminAccessControl for backend
215
+
**CustomAdminAccessControl for backend**
209
216
210
217
For example, using [dektrium/yii2-user](https://github.com/dektrium/yii2-user)
0 commit comments