Wiki

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

Working with CGridView in Admin Panel

Created 2 years ago by vibhaJadwaniTutorials18 comments – viewed 60,636 times – ( +43 / -1 ) – version 1.1
This is a tutorial for how to add input text-Field, check-box, buttons in CGridView.

Authenticating against phpass hashes with Yii

Created 3 years ago by Da:SourcererHow-tos18 comments – viewed 23,094 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 4 years ago by bettorHow-tos17 comments – viewed 53,514 times – ( +26 / -4 ) – 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 CButtonColumn to customize buttons in CGridView

Created 3 years ago by TrejderHow-tos17 comments – viewed 196,027 times – ( +97 ) – 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.

Avoiding rendering entire page when using CGridView and CListView via AJAX

Created 3 years ago by xrxHow-tos17 comments – viewed 33,016 times – ( +23 ) – 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.

Simple RBAC

Created 2 years ago by hasanaviTutorials16 comments – viewed 66,150 times – ( +45 / -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.

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

Created 2 years ago by bennounaHow-tos16 comments – viewed 30,376 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 upload image(photo), and path entry in database with update functionality

Created 2 years ago by kiran sharmaTips16 comments – viewed 97,579 times – ( +35 / -3 ) – version 1.1
I saw many posts that community newbie is confuse in image/photo upload with random name. so I post this topic covering all useful things regarding to image/photo upload(not covering image attribute related functionality)

Theming your Zii Widgets

Created 3 years ago by Luis Lobo BorobiaTutorials16 comments – viewed 42,619 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 about a year ago by fsbTutorials16 comments – viewed 59,120 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.