Wiki articles in category Tutorials tagged with "config"

Showing 1-4 of 4 items.

How to store array/widget configuration to the database with config validation rules

Created 7 years ago by Kartik V, updated 7 years ago by Kartik V.

Note the tag {{homeUrl}} will be dynamically replaced at runtime.

1 3
Viewed: 18 555 times
Version: 2.0
Category: Tutorials

Manage application configuration in different modes

Created 12 years ago by qiang, updated 10 years ago by 张 迪.

Application configuration determines how an Yii application should behave, because it is the only parameter passed in the entry script. An application, on the other hand, needs to behave differently under different circumstances. For example, an application may need different configurations when running in production mode, development mode and testing mode; In a team development environment, each...

15 0
Viewed: 48 110 times
Version: 1.1
Category: Tutorials

Setting application parameters dynamically in the back-end

Created 9 years ago by Pablovp, updated 9 years ago by Pablovp.

I was wondering how to set-up the application parameters in the back-end to use them all around the application without the need of using the database and I came up with this solution, I hope it helps somebody else.

12 0
Viewed: 58 374 times
Version: 1.1
Category: Tutorials

YII2: Create console commands inside a module or extension

Created 6 years ago by MetaCrawler, updated 3 years ago by Luis Armando.

Here is a small guide how to get console commands running inside modules & extensions. For this guide I used a fresh yii2 basic application template.

8 0
Viewed: 51 263 times
Version: 2.0
Category: Tutorials