Wiki

Sorted by viewsX
Displaying 161-170 of 770 result(s).

Drills : Search by a HAS_MANY relation in Yii 1.1

Created 3 years ago by softarkTutorials13 comments – viewed 42,020 times – ( +32 ) – version 1.1
Sometimes we get lost trying to search by a HAS_MANY relation using CActiveRecord or CActiveDataProvider in Yii 1.1. This article is a series of drills that try to describe the practical techniques of searching by a HAS_MANY relation.

Custom Autocomplete Display and Value Submission

Created 4 years ago by Antonio RamirezHow-tos6 comments – viewed 41,979 times – ( +14 / -1 ) – version 1.1
How many of us has wondered how to create an autocomplete that will display the names of a related models but do require the id of that selected name to be submitted for model creation/update?

Using Bootstrap with LESS

Created 3 years ago by Chris83How-tos1 comment – viewed 41,881 times – ( +14 ) – version 1.1
I discovered Twitter Bootstrap almost two years ago. After trying it out for a while I fell in love with it. It didn't take long before I realized that it would be great to write an extension that allowed developers to start using Bootstrap in their Yii projects. One night I sat down and started writing what later became my now popular bootstrap extension. Now that the extension is quite widely used in the community I felt that it was time to write about how to use Bootstrap to its full potential. If you use the Bootstrap CSS files you're really missing out on some great features. After reading this article you'll be able to take full advantage of Bootstrap using LESS.

Real-time display of server push data using Server-Sent Events (SSE)

Created 4 years ago by bennounaHow-tos16 comments – viewed 41,603 times – ( +12 ) – version 1.1
There are several methods and techniques that come handy in the case you need to call an external resource periodically or if you are waiting for a server push, but I present here an easy and straightforward one using HTML5's Server-Sent Events (SSE).

Exporting CGridView results to CSV file

Created 4 years ago by RusAlexTutorials9 comments – viewed 41,556 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

How to use YiiBooster TbFileUpload widget

Created 3 years ago by Antonio RamirezHow-tos15 comments – viewed 41,309 times – ( +11 ) – version 1.1
The following wiki is to explain how to make use of the TbFileUpload widget from YiiBooster. I have received a couple of requests and I thought was worth writing a wiki for it.

Install, update and use Yii with WAMP server

Created 3 years ago by mrsHow-tos5 comments – viewed 41,172 times – ( +5 / -1 ) – version 1.1
Here I am describing how you can install and update Yii in WAMP sever.

Beginner / Intro Tutorials (please add to / update this list)

Created 6 years ago by Ivo RoperTutorials1 comment – viewed 40,945 times – ( +5 ) – version 1.1
This is a central location to collect links to "Getting Started" documentation beyond the blog demo and Creating First Yii Application. Please help the community by adding general, introductory links and descriptions to this page.

CGridView: Display the full record (actionView) in a CJuiDialog

Created 4 years ago by JobloTips7 comments – viewed 40,784 times – ( +15 ) – version 1.1
If you show a model (with a lot of attributes) partially in a CGridView, it can be helpful when the user can take a quick look at the full record with all attributes without displaying the view as a page and afterwards returning back to the gridview.

Adding Yii Search to Your Browser Search Box

Created 5 years ago by qiangTips1 comment – viewed 40,385 times – ( +28 ) – version 1.1
The official Yii project site now supports OpenSearch. This means you can customize your browser's search box to enable direct search of the content in yiiframework.com. For example, by entering a Yii class name in the browser's search box, the corresponding class API page will be shown in the browser.
tags: search