Wiki

Articles tagged with "extension", sorted by commentsX
Displaying 1-6 of 6 result(s).

Save and Display Date/Time Fields in different formats in Yii2

Created about a year ago by Kartik VHow-tos10 comments – viewed 23,197 times – ( +37 ) – version 2.0
You would find having such a need in most Yii Projects. Your database needs a specific format to store date fields, while you may want to display it in different formats to the users on forms and other views.

How to use bizRules in standard accessControl filter

Created about a year ago by Maciej Li┼╝ewskiHow-tos8 comments – viewed 11,056 times – ( +3 ) – version 1.1
I assume you are familiar with accessControl standard filter. It allows you to separate privileges to run some action from action code itself. There is however one problem with most common usage - you cannot use bizRules, at least based on some parameters passed to 'checkAccess' just because it is hard to pass them in accessRules() result.

Troubleshooting Rights Extension

Created 3 years ago by junxiongTips6 comments – viewed 20,415 times – ( +8 ) – version 1.1
Rights is one of user interface for Yii's Role Base Access Control extension. It is one of most downloaded extensions in Yii's Web.

Using your own forked version of extensions with composer

Created about a year ago by Kartik VTutorials1 comment – viewed 2,785 times – ( +39 / -4 ) – version 2.0
So you want to use a fork of any existing vendor extension with your Yii 2 install and use the fork, instead of original source. This does not need you to push any update or register your package on packagist.org. You are recommended to follow the approach below:

How to create yii2 extension and push to github and register into packagist to allow end user install from composer

Created about a month ago by Scott_HuangHow-tos0 comments – viewed 2,041 times – ( +1 ) – version 2.0
1. Create Extension in yii2.

Using the yii2-datecontrol extension along with yii2-detail-view widget

Created about a year ago by Kartik VHow-tos0 comments – viewed 3,745 times – ( +35 ) – version 2.0
The yii2-datecontrol extension allows you to control separate date formats for display and saving for form inputs.