Wiki

Sorted by ratingX
Displaying 421-430 of 482 result(s).

Using CJuiDialog to edit rows in a CGridView

Created 2 years ago by Russell EnglandTips7 comments – viewed 19,364 times – ( +2 / -1 )
I have a CGridView with a list of clients/events. For each row (EventClient) I wanted a quick edit dialog.

How to use Highslide for image popups

Created 4 years ago by mocapapaTutorials0 comments – viewed 11,356 times – ( +1 )
You can download the highslide javascript from http://highslide.com/. And here is an explanation on that URL;
tags: image, popups

How to handle decimal separators (e.g comma instead of dot) for l18n

Created about a year ago by jpabloHow-tos2 comments – viewed 6,601 times – ( +1 )
Yii i18n does not cover decimal format. Some languages like Spanish (I live in Argentina) uses comma ',' instead of dot '.' as decimal separator.

Alternative wildcard characters CDbCriteria

Created 11 months ago by maigretHow-tos0 comments – viewed 3,080 times – ( +1 )
In SQL, wildcard characters can be used in "LIKE" expressions; the percent sign (%) matches zero or more characters, and underscore (_) a single character. Sometimes users are not familiar with these or they are using different ones like (*) and (+) similar to regular expressions. My colleages do so and then i decided to add this feature by extending CbCriteria. Especially adding a new parameter $wildcard_chars to the method addSearchCondition to replace them if needed with standard SQL characters:

Using Yii with Oracle through PDO

Created 2 years ago by TrejderTips4 comments – viewed 18,902 times – ( +1 )
When you are developing an webapp with Yii that will be using Oracle RDBMS you should take a look at these issues in which you may run into it.

Using sub query for doubletts

Created 10 months ago by mbTips3 comments – viewed 3,962 times – ( +1 )
find doubletts by db fields. in this example i will check doublets for 3 tabelfields (col1,col2,col3). so i will get a subquery with the condition, select and grouping of the tablefields. the having with COUNT() > 1 means: find all records more then one result.

Custom Archive in Blog system

Created 10 months ago by nirmalrokaTips0 comments – viewed 2,361 times – ( +1 )
Hi I had made simple archive system for blog system that can handle tbl_post. I had used simple CDbCriteria not more than that. I know there is more and many better way to this but I think this will give some idea to users to generate new idea or customized or modified this version of code.

Entire Messages into javascript object

Created 10 months ago by markuxHow-tos0 comments – viewed 2,677 times – ( +1 )
I needed all messages with their translation into javascript. This is my solution:

Catching bounce messages (NDR) and piping them to a Yii command

Created 9 months ago by bennounaTutorials0 comments – viewed 3,420 times – ( +1 )
In order to avoid bounce messages and unsolicited registrations, most webapps send automatic activation emails upon user registration, and the account remain inactive as long as it is not activated. Better yet, you can periodically purge your data by removing accounts that have not yet been activated.

[pt-br] O guia de estudos do Yii para iniciantes

Created 8 months ago by Rodrigo CoelhoTips0 comments – viewed 3,035 times – ( +1 )
You can find the english version of this wiki here: The complete beginner's study guide for the Yii Framework.