Revision #109 has been created by rackycz on Sep 23, 2019, 11:34:02 AM with the memo:
bold headers
« previous (#108) next (#110) »
Changes
Title
unchanged
Yii v2 snippet guide
Category
unchanged
Tutorials
Yii version
unchanged
2.0
Tags
unchanged
tutorial,beginner,yii2
Content
changed
**Intro
**
--
Hi all![...]
If you find any problems in my snippets, let me know, please.
**Prerequisities
**
--
Skip this paragraph if you know how to run your Yii demo project...[...]
Then you can start to modify you project, for example based on this "tutorial".
**User management + DB creation + login via DB
**
---
To create DB with users, use following command. I recommend charset **utf8_unicode_ci** (or utf8mb4_unicode_ci) as it allows you to use [more international characters](https://stackoverflow.com/questions/766809/whats-the-difference-between-utf8-general-ci-and-utf8-unicode-ci).[...]
**i18n translations
**
---
Translations are fairly simple, but I probably didnt read manuals carefully so it took me some time.[...]
```
**Switching languages + session + dropdown in the top menu
**
---
First lets add to file config/params.php attributes with list of supported languages:[...]
**Access rights
**
---
... text ...