Wiki

Articles in category "how-tos", sorted by commentsX
Displaying 81-90 of 189 result(s).

How to insert a Simple Dialog Box

Created about a year ago by bluyellHow-tos3 comments – viewed 13,641 times – ( +5 )
I build this simple PHP class (DialogBox.php at the bottom of this wiki) to help you in the dialog box usage on Yii applications. The goal is run any Yii actions into this dialog box and return the resulting value to the calling instance.

Secure password hashing with bCrypt

Created about a year ago by waitforitHow-tos3 comments – viewed 11,538 times – ( +6 )
In this article I will show you how to implement a secure password hashing mechanism in your Yii projects using a bCrypt class.

Using CJuiDatePicker for CGridView filter

Created about a year ago by softarkHow-tos3 comments – viewed 16,582 times – ( +17 )
We can use a CJuiDatePicker for a CGridView inline filter.

Using loginRequiredAjaxResponse to solve ajax session timeout

Created about a year ago by RutgerHow-tos3 comments – viewed 9,829 times – ( +12 )
This solution requires Yii 1.1.9 or above

CGridView keep state of page and sort.

Created about a year ago by DanielHow-tos3 comments – viewed 10,619 times – ( +3 )
Remember-filters-gridview is one of the must-use extension on all of my project. However, it lacks of storing the page and sort variables of the grid view.

Use phing to make Yii application "installable"

Created about a year ago by sensorarioHow-tos3 comments – viewed 5,023 times – ( +7 )
To use this "how-to", you need to install phing in your machine.
tags: phing

Integrating Wordpress and Yii,Working Out The Details.

Created 9 months ago by drumaddictHow-tos3 comments – viewed 7,714 times – ( +7 )
This article is based on fr0d0z's article Integrating Wordpress and Yii: still another approach, using Yii as the router/controller and provides more details on how to set up this integration.To be more specific,the idea is not to use any main.php layout in Yii's controllers.This gives the advantage that we do not need to modify any Yii code when we switch a theme in WordPress admin panel,provided we have done a very basic setup which I explain below.
tags: wordpress

Run an Yii Application inside an Wordpress page

Created 2 years ago by Paul ApostolHow-tos3 comments – viewed 12,423 times – ( +12 )
Install a Wordpress site (mine is in "http://localhost/test/wordpress")

simple CSV export

Created 8 months ago by bluyellHow-tos3 comments – viewed 4,811 times – ( +1 )
tags: csv, excel, export

Keeping a running total in a CGridView

Created 2 years ago by Steve FriedlHow-tos3 comments – viewed 15,713 times – ( +21 )
This tip created in conjunction with IRC #yii channel users emilsedgh and tydeas - thanks!
tags: CGridView