Wiki

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

Exporting CGridView results to CSV file

Created 2 years ago by RusAlexTutorials9 comments – viewed 25,690 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 37,103 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

Display an AJAX tree from your DB using CTreeView

Created 4 years ago by Fran̤ois GannazTutorials9 comments Рviewed 42,335 times Р( +20 ) Рversion 1.1
This example uses a MySQL DB with a table named tree with the fields id, name, and parent_id. The parent_id will be NULL for root elements. The SQL is kept simple (no autoinc, no FK, etc).
tags: AJAX, CTreeView

Events explained

Created about a year ago by pligorTutorials9 comments – viewed 20,895 times – ( +22 / -3 ) – version 1.1
Let's see what exactly are the events in Yii!

Caching strategy

Created 5 months ago by darkheirHow-tos9 comments – viewed 2,912 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

Increasing AR performance in connections with Oracle

Created 3 years ago by TrejderHow-tos9 comments – viewed 14,918 times – ( +1 ) – version 1.1
Please, note. This article is entirely based on a work done by me colleague developer, who hasn't got account on this webpage and also hasn't got time for writing this article. I'm writing it for him. I will try to forward him any comments that may appear, but can't assure if/when he'll be able to answer. I'm far, far less experienced in Oracle therefore I won't probably be able to help myself.

Ajax form submiting in Yii

Created about a year ago by sirin kTutorials9 comments – viewed 64,460 times – ( +11 / -3 ) – 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 24,765 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.

URL management for Websites with secure and nonsecure pages

Created about a year ago by qiangHow-tos9 comments – viewed 15,551 times – ( +22 ) – version 1.1
In this article, I will describe how to manage URLs for a Website that has both secure and nonsecure content.
tags: URL

A simple action for CJuiAutoComplete

Created 3 years ago by tydeas_drTips9 comments – viewed 25,115 times – ( +16 / -1 ) – version 1.1
More or less I use auto-complete field for a form. CJuiAutoComplete is a yii widget for this purposes. The common use case is to make an ajax request and retrieve a list from the database. So in this case you have to write a controller action to return you a json encoded list. What if I had a generic action to do this work for me?