Wiki

Articles in category "how-tos", sorted by commentsX
Displaying 101-110 of 352 result(s).

Select2 Infinite Scroll With Remote Data in Yii

Created 2 years ago by amanationHow-tos5 comments – viewed 9,877 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.

Cookie management in Yii

Created 5 years ago by TrejderHow-tos5 comments – viewed 127,094 times – ( +43 / -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 3 years ago by mrsHow-tos5 comments – viewed 42,493 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 3 years ago by chuntleyHow-tos5 comments – viewed 19,367 times – ( +10 ) – 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 5 years ago by zaccariaHow-tos5 comments – viewed 52,769 times – ( +20 / -7 ) – version 1.1
An application component is a confortable way for share information among all component of the application

Check users online, user last activity, user last ip

Created about a year ago by frazelliHow-tos5 comments – viewed 8,503 times – ( +5 ) – version 1.1
DbHttpSession

CPhpAuthManager - how it works, and when to use it

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

Popup AJAX DialogBox without any extension

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 18,381 times – ( +8 / -1 ) – version 1.1
In this wiki I explain how to show a default popup dialogbox (like Gii does) using an existing module.

"safe" and "unsafe" Model validators (massive assignments)

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 17,811 times – ( +4 / -6 )
Ok, it is a little bit difficult to full understanding the unsafe validator.

Multiple Database Connection : Select database based on login user id, Dynamic

Created 2 years ago by Rajith RHow-tos4 comments – viewed 23,785 times – ( +9 / -6 ) – version 1.1
create a class file under protected\components named RActiveRecord.php