Wiki

Sorted by ratingX
Displaying 781-786 of 786 result(s).

MongoDB's RBAC support class extending BaseManager

Created 3 years ago by edoardo849How-tos1 comment – viewed 7,507 times – ( -1 ) – 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 display images in CJuiAutoComplete without extenstions

Created 3 years ago by AsmaaTutorials0 comments – viewed 5,927 times – ( -1 ) – 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:

Yii 2.0: Write & use a custom Component in Yii2.0 (Advanced Template)

Created 3 years ago by Deepak PradhanHow-tos1 comment – viewed 26,644 times – ( -1 ) – version 2.0
This is an extension to Yii 2.0: Write & use a custom Component in Yii2.0 for Advanced Template

Simple Way to Upload and Save File

Created 3 years ago by Misbahul D MunirTutorials0 comments – viewed 20,663 times – ( -3 ) – version 2.0
This tutorial need extension mdmsoft/yii2-upload-file. Follow the intruction to install. After installation done, create controller and action

Step by step for how to full export Yii2 grid to excel

Created 3 years ago by Scott_HuangTips3 comments – viewed 40,539 times – ( -1 ) – version 2.0
We will leverage Yii2-excelview widget. So, first of all is install Yii2-excelview:

Use CGridview to sort and filter CSqlDataProvider - when used with UNRELATED tables (or complex queries)

Created 3 years ago by Gerhard LiebenbergHow-tos6 comments – viewed 18,816 times – ( -1 ) – version 1.1
I have two tables called hospitals and departments. I have a junction table between them which holds the departments in each hospital. But sometimes I need a list of "All hospitals with All possible departments" - regardless of whether they are linked in the junction table or not.