Wiki

Articles in category "how-tos", sorted by ratingX
Displaying 221-230 of 352 result(s).

How to change Migration Table name and use defined prefix.

Created 3 years ago by JorgeeHow-tos1 comment – viewed 9,418 times – ( +3 ) – version 1.1
To accomplish the task of changing Migration table's name, by default tbl_migration, you need to add the following in your ./protected/config/console.php.

Profiling using XDebug

Created 3 years ago by le_topHow-tos1 comment – viewed 9,339 times – ( +3 ) – version all
A short explication on how to extract profile information for PHP on your server using XDebug and KCacheGrind or WinCacheGrind.

Role Management

Created about a year ago by Dency G BHow-tos0 comments – viewed 9,083 times – ( +3 ) – version 2.0
Implementing a role based access control is a very easy process and you can even load your roles from the database if you want.
tags: rbac, yii2

Behaviour for Time Zone and Format conversion for Date, Time, timestamp, and datetime

Created about a year ago by SmitheshHow-tos1 comment – viewed 7,129 times – ( +3 ) – version 1.1
This Behaviour helps to view time/date/timestamp/datetime from db to local Date / Time / Date Time format and in local Timezone. And save into db in with db timezone and db format. You only need to include this behaviour in models where need this facility.

Moving the vendor directory for multiple projects

Created about a year ago by mariosimaremareHow-tos2 comments – viewed 9,535 times – ( +5 / -1 ) – version 2.0
This How-To is useful if you are planning to move the Yii vendor directory outside the default location.

Yii HMVC

Created 2 years ago by ezekielnoobHow-tos6 comments – viewed 11,922 times – ( +5 / -1 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider

Remove Byte Order Mark (BOM) from files recursively

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 13,713 times – ( +5 / -1 ) – version all
Ok, this wiki is not only for yii projects.

Caching strategy

Created 2 years ago by darkheirHow-tos9 comments – viewed 6,200 times – ( +5 / -1 ) – version 1.1
Note: Before reading this wiki you should have read the caching part in the Yii guide
tags: caching, filter

Install, update and use Yii with WAMP server

Created 3 years ago by mrsHow-tos5 comments – viewed 42,533 times – ( +5 / -1 ) – version 1.1
Here I am describing how you can install and update Yii in WAMP sever.

Twitter Bootstrap style Breadcrumbs

Created 3 years ago by junaidatariHow-tos0 comments – viewed 17,477 times – ( +5 / -1 ) – version 1.1
1: Create breadcrumb in your view file.