Wiki

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

Select2 Infinite Scroll With Remote Data in Yii

Created 2 years ago by amanationHow-tos5 comments – viewed 10,302 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 129,664 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 43,623 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,612 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 53,700 times – ( +20 / -7 ) – version 1.1
An application component is a confortable way for share information among all component of the application

Sub-domains with different databases in Yii!

Created 5 years ago by jwerdHow-tos5 comments – viewed 15,518 times – ( +2 ) – version 1.1
Sub-domains with different databases in Yii!

Check users online, user last activity, user last ip

Created 2 years ago by frazelliHow-tos5 comments – viewed 8,984 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,688 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,833 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 18,550 times – ( +4 / -6 ) – version 1.1
Ok, it is a little bit difficult to full understanding the unsafe validator.