Difference between #57 and #58 of
Yii v2 snippet guide

Revision #58 has been created by rackycz on Sep 20, 2019, 1:29:30 PM with the memo:

edit
« previous (#57) next (#59) »

Changes

Title unchanged

Yii v2 for beginners

Category unchanged

Tutorials

Yii version unchanged

2.0

Tags unchanged

tutorial,beginner,yii2

Content changed

[...]
- Search Model Class = app\models\UserSearch
- Controller Class = app\controllers\UserController
- View Path can be empty or you can set: views\user
- Again enable i18n

NowAnd then you can edit users on this URL: [http://localhost/basic/web/index.php?r=user](http://localhost/basic/web/index.php?r=user) ... but it is not all. Now yYou should alshave to modify the view -files so that correct inputs are displayed!

Open folder views\user and do following:

- \_form.php - rename input **password** to **password_new** then duplicate it and rename to **password_new_repeat**. Remove **authKey**.
- \_search.php - remove **password** and **authKey**.
[...]
7 0
4 followers
Viewed: 274 894 times
Version: 2.0
Category: Tutorials
Written by: rackycz
Last updated by: rackycz
Created on: Sep 19, 2019
Last updated: a year ago
Update Article

Revisions

View all history