Wiki

Sorted by commentsX
Displaying 91-100 of 704 result(s).

Using Yii with Nginx and PHP-FPM

Created 3 years ago by LericHow-tos10 comments – viewed 42,140 times – ( +17 ) – version 1.1
This config is built on an Ubuntu 11.04 server. Software is nginx, php-fpm (php5-fpm). For performance, it's recommended to run php-fpm in SOCKET mode, instead of accessing via IP:PORT. That is the method shown below.

Save and Display Date/Time Fields in different formats in Yii2

Created 5 months ago by Kartik VHow-tos10 comments – viewed 5,933 times – ( +27 ) – version 2.0
You would find having such a need in most Yii Projects. Your database needs a specific format to store date fields, while you may want to display it in different formats to the users on forms and other views.

An Easy Solution for Dependent dropDownList Using AJAX

Created about a year ago by mrsTips10 comments – viewed 50,776 times – ( +11 / -1 ) – version 1.1
Sometimes new Yii guys face problem to manage dependent dropDownList using AJAX. I am going to discuss an easy solution about this issue.

Relational Query - Lazy Loading and Eager Loading / with and together

Created about a year ago by softarkTutorials9 comments – viewed 18,022 times – ( +13 ) – version 1.1
It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's important to note that you should distinguish 2 different modes in the Eager Loading in Yii 1.1.x.

Exporting CGridView results to CSV file

Created 2 years ago by RusAlexTutorials9 comments – viewed 30,328 times – ( +6 / -3 ) – version 1.1
A few days ago, i worked for CGridView exporting functional for my client. He asked me to create a simple exporting to a CSV file a CGridView search results.
tags: cgridview, export, csv

Creating a database-driven hierarchical Structure combined with CMenu and superfish

Created 4 years ago by thyseusTutorials9 comments – viewed 40,524 times – ( +15 ) – version 1.1
Note: Please also take a look at the newer EMenu extension. This works even better that the deprecated CDropDownMenu!
tags: menu

Events explained

Created 2 years ago by pligorTutorials9 comments – viewed 24,881 times – ( +22 / -3 ) – version 1.1
Let's see what exactly are the events in Yii!

Caching strategy

Created 11 months ago by darkheirHow-tos9 comments – viewed 4,031 times – ( +5 / -1 ) – version 1.1
Note: Before reading this wiki you should have read the caching part in the Yii guide
tags: caching, filter

Ajax form submiting in Yii

Created 2 years ago by sirin kTutorials9 comments – viewed 85,049 times – ( +11 / -4 ) – version 1.1
hi guys, Here I'm going to give you a working example of ajax form submiting in Yii.

Single sign on across multiple subdomains

Created 3 years ago by ianarĂ©How-tos9 comments – viewed 29,439 times – ( +31 ) – version 1.1
This had me stumped for a while so I figured it would be nice to share here to avoid others the grief.