Difference between #49 and #50 of
Yii v2 snippet guide

Revision #50 has been created by rackycz on Sep 20, 2019, 1:04:55 PM with the memo:

edit
« previous (#49) next (#51) »

Changes

Title unchanged

Yii v2 for beginners

Category unchanged

Tutorials

Yii version unchanged

2.0

Tags unchanged

tutorial,beginner,yii2

Content changed

[...]
}

```

Now you can also create CRUD = Create Read Update Delete = views and controller.
 On the GII page enter following values:

- Model Class = app\models\User
[...]
- Again enable i18n

Now you can edit user
ts 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 you should also modify 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**.
 
- index.php - remove **password** and **authKey**.
 
- view.php - remove **password** and **authKey**.
 


i18n translations + Session
---
... text ...
[...]
7 0
4 followers
Viewed: 275 328 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