I wrote about this on my blog, but wanted to post it here too.
Here's a possible implementation for MongoDb of the RBAC standard. Create a class "MongoDbManager" in
and modify your
params.php` file like this:
I could make this work following same useful tips from this post.
This wiki will explain how you can use the Field range extension with multiple Bootstrap form layouts (vertical or horizontal). You maybe aware, that the yii2-field-range extension enables you to easily setup ActiveField range fields with Bootstrap styling. You basically can setup two attributes joined together like a single field with combined validation error block.
This is an extension to Yii 2.0: Write & use a custom Component in Yii2.0 for Advanced Template
I was playing around with another PHP framework which I didn't really liked anyway but it had simple and nice integration for PHP built in web server so I decided to write one for Yii (since this is my primary PHP framework)
I just chased my tail around for a bit today. I got lost with setting the status of all inputs, and banging my head on why the "validate" function just wasn't working.
In Yii 1.x, there was a built in widget
CStarRating based on the jquery star rating plugin. There exists no prebuilt solution in Yii2, however the same concepts can be extended using any jquery plugin.
This is for folks who are using
\kartik\widgets\FileInput to upload files from your client. How do you display an image for update after you have uploaded it to the server using the widget?
The yii2-datecontrol extension allows you to control separate date formats for display and saving for form inputs.
Upon creating my Yii2 Members System, I have ran into a few snags along the way that forced me to extend and bend Yii2 to my will.
I have read http://www.yiiframework.com/wiki/24/creating-a-dependent-dropdown/ (Dependen Dropdown Yii1), but I can't implement it in Yii2 because Yii2 does not have built-in AJAX functionality hem.. I searched about it and came across this post
Yii2 introduces the BootstrapInterface to ease our application initialization tasks, whether they are
composer based or Application bootstrap (do not mistaken with Bootstrap CSS Framework) based tasks. On this article, I am going to explain how to use it on y...
It is quite simple, but I am sure this small tutorial will help more than one of you out there :)
1. Create Extension in yii2.