Wiki

Sorted by viewsX
Displaying 421-430 of 684 result(s).

How to create a criteria condition for a multiple value text search i.e a "LIKE IN"

Created 6 months ago by tophHow-tos2 comments – viewed 8,278 times – ( -1 ) – version 1.1
This is a shortcut for adding a text search for multiple values i.e.

Preventing CJuiTabs from hiding drop-down CMenu items

Created 3 years ago by Steve FriedlTips1 comment – viewed 8,268 times – ( +4 ) – version 1.1
Almost all Yii applications use CMenu at the top of each page to show options available to the user, and many include drop-down components to allow more fine-grained selection.

Using Pear Mail Mail_Mime and Mail_Queue

Created 3 years ago by LorenHow-tos2 comments – viewed 8,230 times – ( +7 ) – version 1.1
Create a component (/protected/components/PearMail.php) Edit this as needed based on where you put the files from PEAR.

Insert a multirow header in CGridView

Created about a year ago by PeppeHow-tos2 comments – viewed 8,202 times – ( +4 )
The CGridView widget is very useful and customizable, but sometimes you need a little more. One limit I found is to have only one row for headers; yes, you can write each column header in more than one row, but just inside the single cell. I was looking instead for the possibility to use more than one row, with different structure one from the others. This way you can write columns grouping headers, and obtain a nicer view.

How to obtain a grammatically correct translation of the model name in giix-generated view files

Created 2 years ago by c@cbaHow-tos0 comments – viewed 8,195 times – ( +4 ) – version 1.1
The giix code generator has out of the box i18n support for model names and attribute labels (besides other cool features > check it out!) . But I want to factor in not only the plural form, but also the grammatical cases (especially the accusative) while translating 'Manage Objects', 'Create Object', 'Edit Object' etc.

How to use Flash, Zend AMF and Yii Framework

Created 2 years ago by janistoTutorials0 comments – viewed 8,191 times – ( +3 ) – version 1.1
This is a simple demo how to use Zend_AMF with Yii.
tags: flash, zend, Zend_AMF, AMF

Using CListView to display items next to each other (in columns)

Created about a year ago by thyseusTips3 comments – viewed 8,169 times – ( +10 )
When using CListView to display multiple views next to each other, we can use the $index variable inside the viewFile to achieve this. As far as i know there is no extension or out-of-the-box functionality for this, so we need to apply a little hack:

Application-driven database with CDbMigration and an extended CActiveRecord

Created 2 years ago by Tudor IlisoiOthers0 comments – viewed 8,146 times – ( +8 ) – version 1.1
This is an incipient implementation of application-driven database with Yii.
tags: database, model

Our WebApp that will run without downtime during update/upgrade

Created 2 years ago by Pinoy CoderzTutorials3 comments – viewed 8,131 times – ( +8 / -2 ) – version 1.1
How many of us wonder how we can upgrade the website without hurting the operation of our WebApp?
tags: tutorial

How to catch and log MySQL deadlock errors

Created 2 years ago by sebTips1 comment – viewed 8,129 times – ( +4 ) – version 1.1
This method allows to log InnoDB monitor output when deadlock error occured. This way we will have much more useful data to find and fix deadlock.
tags: database