Wiki

Sorted by viewsX
Displaying 91-100 of 783 result(s).

Update/delete model with CJuiDialog (works in CGridView)

Created 5 years ago by ifdatticTutorials6 comments – viewed 66,896 times – ( +15 ) – version 1.1
This is based on this article.

Implementing a Registration Process using the yii-user-management module

Created 5 years ago by thyseusTutorials6 comments – viewed 64,780 times – ( +7 ) – version 1.1
Hi Folks,

Creating a Dependent Dropdown From Scratch in Yii2

Created 2 years ago by ThePr0f3550rHow-tos4 comments – viewed 64,305 times – ( +8 ) – version 2.0
I have read http://www.yiiframework.com/wiki/24/creating-a-dependent-dropdown/ (Dependen Dropdown Yii1), but I cant implementation in Yii2 because Yii2 not built-in AJAX functionality hem.. I am search about it and get this statement

How to setup RBAC with a php file

Created 7 years ago by bettorHow-tos17 comments – viewed 64,146 times – ( +26 / -5 ) – version 1.1
In this cookbook I will attempt to explain how to use the lightweight version of Role-Based Access Control using a php file. This version does not use database but a php file and is controlled by CPhpAuthManager class.

Using the configuration file, explain what can be configured.

Created 7 years ago by atrandafirTutorials0 comments – viewed 64,138 times – ( +20 ) – version 1.1
The purpose of this post is to let anyone quickly find how to accomplish a configuration task, and list here all the posibilities of the config.php file and also link to pages that explain how is each thing implemented.

How to log and debug variables using CWebLogRoute

Created 6 years ago by Antonio RamirezHow-tos8 comments – viewed 63,784 times – ( +18 ) – version 1.1
I have seen a couple of articles about how to integrate external libraries to debug our PHP code (i.e. firePHP) but after you read this article you will realize that there is no need for such libraries when using Yii.
tags: Logging

"Why do I get a 403 error when trying to use Gii?"

Created 6 years ago by Steve FriedlFAQs3 comments – viewed 63,147 times – ( +7 ) – version 1.1
After enabling the Gii module in your protected/config/main.php file and then try to use it with http://example.com/index.php?r=gii, you get an error:
tags: Gii, config

Special $variables in CGridView and CListView

Created 5 years ago by Steve FriedlTips11 comments – viewed 62,941 times – ( +27 / -2 ) – version 1.1
The popular CListView and CGridView widgets each take a data provider and iterate over each data object produced, calling the user's code to render each row one at a time, and most are familiar with the use of the $data variable to represent the current model object or array.

CListView AJAX filtering

Created 5 years ago by DragaTutorials17 comments – viewed 62,859 times – ( +17 ) – version 1.1
This tutorial shows how to filter CListView items by AJAX, and it's compatible with disabled JavaScript users In my case this has been done to filter users list

Using setFlash for displaying various kind of messages

Created 6 years ago by TrejderHow-tos6 comments – viewed 62,545 times – ( +4 / -5 ) – version 1.1
In this short how-to I will show how to customize setFlash() to display messages (flashes) styled to be success confirmation, error report or notice information. And how to achieve displaying errors in other way.
tags: flash, error, message