Wiki

Sorted by date (updated)X
Displaying 91-100 of 738 result(s).

Create Form With DynamicModel

Updated 5 months ago by Misbahul D MunirTips4 comments – viewed 3,213 times – version 2.0
In yii2 we can create form without create FormModel. Here we go
tags: form, yii2, model

How to use imagine ( crop, thumb, effects for images ) on Yii2

Updated 5 months ago by Anas AbuDayahTutorials0 comments – viewed 6,019 times – ( +5 ) – version 2.0
Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

Upload CSV File

Updated 5 months ago by bhavesh vaghelaTutorials2 comments – viewed 11,218 times – ( +7 ) – version 1.1
View file

Getting to Understand Hierarchical RBAC Scheme

Updated 5 months ago by rAWTAZTutorials15 comments – viewed 78,926 times – ( +62 ) – version 1.1
Authentication and Authorization is a good tutorial. Among other topics, it describes basic aspects of Yii's RBAC implementation. But however hard I read the tutorial, I couldn't understand how exactly the hierarchy works. I found how to define authorization hierarchy, how business rules are evaluated, how to configure authManager, but almost nothing about how I should build my hierarchy, in what sequence its nodes are checked, when the checking process stops and what would be the checking result.

How to display images in CJuiAutoComplete without extenstions

Updated 5 months ago by AsmaaTutorials0 comments – viewed 2,480 times – version all
I wanted to customize the CJuiAutoComplete, so that it displays a thumb image before the label like the one shown in the following image:

how to make a dynamic progress bar to show the percentage or status

Updated 5 months ago by BoazHow-tos1 comment – viewed 17,845 times – ( +5 ) – version 1.1
Yii have a CJuiProgressBar, but it is static. If we want a dynamic progress bar to show the percentage or status, we have to do more things. I make it successfully and am glad to share it with you.

MongoDB's RBAC support class extending BaseManager

Updated 5 months ago by edoardo849How-tos1 comment – viewed 3,172 times – version 2.0
Here's a possible implementation for MongoDb of the RBAC standard. Create a class "MongoDbManager" in common\components and modify your params.php file like this:
tags: mongodb, rbac, yii2

How-To: Create a REST API

Updated 5 months ago by Rohit SutharHow-tos56 comments – viewed 251,324 times – ( +110 / -1 ) – version 1.1
This article will explain how to create a REST API with the Yii framework.

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

Updated 6 months ago by SmitheshHow-tos0 comments – viewed 3,614 times – ( +2 ) – 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.

How to use GridView with AJAX

Updated 6 months ago by YiiJekaHow-tos2 comments – viewed 14,532 times – ( +11 ) – version 2.0
With the adoption of PJax on Yii2 things  have change quite a bit with GridView when it comes to work with them in AJAX mode. It will probably be confusing at the beginning, but then you will soon realize how powerful the new approach is.
tags: yii2, pjax, widget