Wiki

Sorted by commentsX
Displaying 31-40 of 743 result(s).

Using CButtonColumn to customize buttons in CGridView

Created 4 years ago by TrejderHow-tos18 comments – viewed 219,616 times – ( +98 ) – version 1.1
CGridView is a one of most flexible widgets in Yii and example its flexibility is CButtonColumn used to build buttons for steering model in each grid row. Here in this how-to we will explain ways user can customize CButtonColumn to flexibly fit it to its needs.

Authenticating against phpass hashes with Yii

Created 3 years ago by Da:SourcererHow-tos18 comments – viewed 24,307 times – ( +26 ) – version 1.1
Note: This guide is outdated as of Yii v1.1.14 which introduced the CPasswordHelper class. Please use that instead.

How to setup RBAC with a php file

Created 5 years ago by bettorHow-tos17 comments – viewed 56,681 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.

Simple RBAC

Created 2 years ago by hasanaviTutorials17 comments – viewed 72,602 times – ( +47 / -3 ) – version 1.1
If you need simple Role based access control without the long RBAC process then this article is just for you. Lets jump to the point.

Avoiding rendering entire page when using CGridView and CListView via AJAX

Created 4 years ago by xrxHow-tos17 comments – viewed 35,035 times – ( +24 ) – version 1.1
Since I used CGridView for a first time, I didn't like how it handled operations like sorting, filtering, changing page and etc using AJAX.

CListView AJAX filtering

Created 3 years ago by DragaTutorials17 comments – viewed 52,468 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

Real-time display of server push data using Server-Sent Events (SSE)

Created 2 years ago by bennounaHow-tos16 comments – viewed 35,830 times – ( +12 ) – version 1.1
There are several methods and techniques that come handy in the case you need to call an external resource periodically or if you are waiting for a server push, but I present here an easy and straightforward one using HTML5's Server-Sent Events (SSE).

How to filter CGridView with From Date and To Date datepicker

Created 2 years ago by kiran sharmaTips16 comments – viewed 35,878 times – ( +17 / -4 ) – version 1.1
This artical is related to allow user to filter CGridView with date range using datepicker on submit button. Here I use Yii Cookie to preserve date in datepicker textbox after submitting the form.

Theming your Zii Widgets

Created 4 years ago by Luis Lobo BorobiaTutorials16 comments – viewed 45,658 times – ( +19 ) – version 1.1
One aspect of User Interface Design has to do with the coherence of the design and the use of the colors between the different User Interface Components used.

Use crypt() for password storage

Created 2 years ago by fsbTutorials16 comments – viewed 68,756 times – ( +24 ) – version 1.1
Update: This wiki has been rewritten to be in line with Yii 1.1.14. Since many of the detailed complexities are now handled by Yii, the article focuses on how the crypt() built-in function works and why it's important to use it correctly.