Wiki

Articles in category "how-tos", sorted by commentsX
Displaying 81-90 of 297 result(s).

How to Enhance a CGridView

Created 3 months ago by bluyellHow-tos5 comments – viewed 2,325 times – ( +4 ) – version 1.1
by: Christian Salazar (bluyell, @salazachris74, christiansalazarh@gmail.com)

Select2 Infinite Scroll With Remote Data in Yii

Created 3 months ago by amanationHow-tos5 comments – viewed 2,899 times – ( +4 ) – version 1.1
I was able to set up the infinite scroll of select2 in Yii. I am glad to share it with you. The demo and source code can be found here. However, select2 for Yii can be found here which uses a widget.

simple CSV export

Created about a year ago by bluyellHow-tos5 comments – viewed 12,651 times – ( +4 / -1 ) – version 1.1
tags: csv, excel, export

Cookie management in Yii

Created 3 years ago by TrejderHow-tos5 comments – viewed 80,071 times – ( +41 / -1 ) – version 1.1
Cookie management in Yii is easy, but may not be so obvious for the beginners to this framework, so I wrote this simple article to clear some doubts out.

Install, update and use Yii with WAMP server

Created about a year ago by mrsHow-tos5 comments – viewed 25,924 times – ( +5 / -1 ) – version 1.1
Here I am describing how you can install and update Yii in WAMP sever.

Load the Yii-Bootstrap Extension on Specific Actions

Created about a year ago by chuntleyHow-tos5 comments – viewed 13,510 times – ( +9 ) – version 1.1
A big problem I've hit with the Yii-Bootstrap extension is that all AJAX requests are initializing Bootstrap because of preload. This is a huge waste of resources, especially when using AJAX-based file uploaders that split the file into chunks. Large file uploads using that method could be initializing bootstrap hundreds of times.
tags: bootstrap, filter

How to write a simple application component

Created 3 years ago by zaccariaHow-tos5 comments – viewed 35,769 times – ( +19 / -7 ) – version 1.1
An application component is a confortable way for share information among all component of the application

Custom Autocomplete Display and Value Submission

Created 2 years ago by Antonio RamirezHow-tos5 comments – viewed 31,314 times – ( +12 / -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?

Run Yiic directly from your app without a shell

Created 2 years ago by jacmoeHow-tos5 comments – viewed 19,439 times – ( +17 ) – version 1.1
Sometimes it would be nice if we could run yiic from an action, for example a migrate database button in our admin panel. Or because you are on a host which doesn't have shell access. Or maybe you are not allowed run popen or exec.

CPhpAuthManager - how it works, and when to use it

Created 2 years ago by dckurushinHow-tos5 comments – viewed 18,290 times – ( +1 / -4 ) – version 1.1
Before reading this article, you should first learn this How to setup RBAC with a php file