Wiki

Sorted by date (updated)X
Displaying 151-160 of 774 result(s).

Create Form With DynamicModel

Updated about a year ago by Misbahul D MunirTips4 comments – viewed 9,369 times – ( +1 ) – version 2.0
In yii2 we can create form without create FormModel. Here we go
tags: form, yii2, model

Upload CSV File

Updated about a year ago by bhavesh vaghelaTutorials2 comments – viewed 14,815 times – ( +8 ) – version 1.1
View file

Getting to Understand Hierarchical RBAC Scheme

Updated about a year ago by rAWTAZTutorials15 comments – viewed 93,258 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 about a year ago by AsmaaTutorials0 comments – viewed 4,507 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 about a year ago by BoazHow-tos1 comment – viewed 25,698 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 about a year ago by edoardo849How-tos1 comment – viewed 5,387 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 about a year ago by Rohit SutharHow-tos56 comments – viewed 321,271 times – ( +113 / -1 ) – version 1.1
This article will explain how to create a REST API with the Yii framework.

How to use GridView with AJAX

Updated about a year ago by YiiJekaHow-tos6 comments – viewed 40,823 times – ( +14 ) – 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

Activating Bootstrap 3 Tooltips & Popover for your Yii Site.

Updated about a year ago by Kartik VTips6 comments – viewed 30,506 times – ( +39 / -4 ) – version 2.0
With Bootstrap 3 and its inbuilt support in Yii Framework 2.0, you would see quite some new ways of creating HTML markup and styling your site. However, with version 3 of Bootstrap, tooltips and popover are not activated by default on your elements. Assuming you have activated the Bootstrap 3 tooltip plugin - how do you easily enable display of tooltips/popovers across your site?

embedded javascript block in your view with IDE checking or intellisense

Updated about a year ago by yiqing95Tips0 comments – viewed 4,168 times – ( +3 ) – version 2.0
this is my way for embed js code block in view file: