Wiki

Articles in category "how-tos", sorted by commentsX
Displaying 71-80 of 322 result(s).

How to insert a Simple Dialog Box

Created 3 years ago by bluyellHow-tos6 comments – viewed 21,596 times – ( +5 / -2 ) – version 1.1
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.

Yii HMVC

Created about a year ago by ezekielnoobHow-tos6 comments – viewed 7,868 times – ( +5 / -1 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider

How to use nested DB transactions (MySQL 5+, PostgreSQL)

Created 5 years ago by mindehHow-tos6 comments – viewed 27,076 times – ( +44 ) – version 1.1
Original source code and idea are from: PHP, PDO & Nested Transactions.

Date Picker by examples

Created about a year ago by InterboyHow-tos6 comments – viewed 49,063 times – ( +9 / -2 )
CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.

Storing your images in your table's blob field and displaying that stored images.

Created 2 years ago by sirin kHow-tos6 comments – viewed 22,726 times – ( +8 / -1 ) – version 1.1
He im giving you a very simple example ie how you can store an image to your blob field in a table.Hope you already familiar with the normal image upload.
tags: blob, image

Implementing cron jobs with Yii

Created 4 years ago by samdarkHow-tos6 comments – viewed 54,924 times – ( +30 / -1 ) – version 1.1
There are two ways to run a cron job:
tags: cron, cli

Publish yii webapp using Git push

Created 2 years ago by rootbearHow-tos6 comments – viewed 7,875 times – ( +2 ) – version 1.1
I did not invent this instructions, I read it somewhere and re-organized in my way as I was trying and it works for me;
tags: git

Using setFlash for displaying various kind of messages

Created 4 years ago by TrejderHow-tos6 comments – viewed 44,942 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

Update CGridview row separately using ajax request

Created 7 months ago by KonApazHow-tos6 comments – viewed 6,462 times – ( +5 ) – version 1.1
There are cases you want to update a record on CGridview directly

Hyphenation of routes in URL management

Created 2 years ago by qiangHow-tos6 comments – viewed 15,149 times – ( +18 ) – version 1.1
In this article, we introduce an approach that allows automatic hyphenation of the route part in URLs.
tags: URL