Wiki

Sorted by viewsX
Displaying 511-520 of 786 result(s).

Bootstrap Yii cGridView add popup button

Created 3 years ago by Arockia Johnson SRHow-tos6 comments – viewed 14,082 times – ( +4 / -1 ) – version 1.1
Hi,

PHPStorm & NetBeans autocomplete problem

Created 4 years ago by StagelineTips3 comments – viewed 14,052 times – ( +24 / -1 ) – version 1.1
The problem: If you type Yii::app()->user<ctrl+space> code completion didn't work. This solve it.

CGridView Date Range Without Cookies or Session (External Filtering)

Created 4 years ago by ezekielnoobHow-tos6 comments – viewed 14,048 times – ( +5 / -1 ) – version 1.1
Here's a tutorial on how to create a CGridView with external date filters the trick is to create hidden columns within the CGridView Filters something like in the example below:

Using sub query for doubletts

Created 5 years ago by mbTips3 comments – viewed 14,022 times – ( +2 / -1 ) – version 1.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.

Integrating FirePHP

Created 7 years ago by ricardogranaTutorials5 comments – viewed 13,976 times – ( +8 / -1 ) – version 1.1
Install Firebug plugin for Firefox from here.

Load data from internal/external source to fill form fields

Created 2 years ago by skwordenHow-tos4 comments – viewed 13,967 times – ( +1 / -1 ) – version 2.0
This wiki is to show you how to use jQuery get and JSON to get data from a dropdown/any form field and fill form fields with the values instantaneously. First, I'll give example use cases of what I'm going to teach you so you can quickly see if this is for you.

Yii HMVC

Created 4 years ago by ezekielnoobHow-tos6 comments – viewed 13,960 times – ( +5 / -2 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider

i18n for your model in just 1 line

Created 7 years ago by mintaoTutorials0 comments – viewed 13,959 times – ( +12 / -1 ) – version 1.1
A simple trick to get the localized version of a model field is to add this little method to your models.
tags: i18n

Using Yii with PHP 5.4 built-in webserver instead of Apache

Created 5 years ago by samdarkHow-tos1 comment – viewed 13,898 times – ( +21 / -1 ) – version 1.1
Since version 5.4 PHP can work as a simple webserver so you can develop Yii applications without installing Apache. That's how to use it:

Moving the vendor directory for multiple projects

Created 2 years ago by mariosimaremareHow-tos2 comments – viewed 13,815 times – ( +5 / -2 ) – version 2.0
This How-To is useful if you are planning to move the Yii vendor directory outside the default location.