Wiki

Articles in category "how-tos", sorted by ratingX
Displaying 191-200 of 355 result(s).

Update a part of content using AJAX when select a GridView row

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 19,967 times – ( +4 / -1 ) – version 1.1
Suppose you want to refresh a form or any content when a single row of CGridView is selected

ClientValidation for files (modern browsers)

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 10,167 times – ( +4 / -1 ) – version 1.1
There are cases that you want to validate the file format, size, extension etc but how to do that without submit the form ?

Simple Multiple Environment Setup with Default Yii Installation

Created 3 years ago by Ibrar TuriHow-tos2 comments – viewed 7,914 times – ( +4 / -1 ) – version 1.1
After installing Yii basic application on our systems, most of the time we want to have multiple environment such as local, dev and live setup. Most of the times when we want to make changes to configuration file, we have to over-write configurations file for each environment.

How to Enhance a CGridView

Created 3 years ago by bluyellHow-tos5 comments – viewed 6,173 times – ( +4 / -1 ) – version 1.1
by: Christian Salazar (bluyell, @salazachris74, christiansalazarh@gmail.com)

Select2 Infinite Scroll With Remote Data in Yii

Created 3 years ago by amanationHow-tos5 comments – viewed 11,757 times – ( +4 / -1 ) – 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.

How to use Smarty renderer in Yii

Created 6 years ago by dongbetaHow-tos2 comments – viewed 19,755 times – ( +4 / -1 ) – version 1.1
At first, create a class named SmartyRenderer under application/components or any directory you want.
tags: smarty, renderer

Image resize on the fly

Created 4 years ago by TpoxaHow-tos4 comments – viewed 22,111 times – ( +4 / -1 ) – version 1.1
For example have folder with image resources which are public accessible
tags: yii, image-resize

How to use YiiBooster Bootstrap Gallery

Created 4 years ago by Antonio RamirezHow-tos4 comments – viewed 27,919 times – ( +4 / -1 ) – version 1.1
Since version 1.0.4, Yii developers can make use of the image gallery provided by Sebastian Tshan, a great javascript developer that has created some true gems like the jquery file upload plugin.

Check online users / set specific user offline

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 8,966 times – ( +4 / -1 ) – version 1.1
How to check the online users or how to logout a specific user from your admin panel? This wiki shows how to do that

Bootstrap Yii cGridView add popup button

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