Sorted by ratingX
Displaying 421-430 of 756 result(s).

Get notified about the status of a Facebook user in your web app using periodic Ajax calls.

Created 3 years ago by sirin kTips0 comments – viewed 6,192 times – ( +4 ) – version 1.1
hello, This article is helpful only if you have the following situation: A web app which uses facebook login to login its users and if a user is logged out from his/her facebook account through another browser tab, then your app dont know that he is logged out out or not from his facebook account and he/she will remain as logged in your web application.Its ok if you have no problem with this situation.But if you want to forcefully logout the user from your application if he is logged out from his facebook account means you can try this example.This example uses periodic ajax calls to facebook's graph api to check whether the user is logged in or not.
tags: facebook, user

How to Enhance a CGridView

Created about a year ago by bluyellHow-tos5 comments – viewed 4,300 times – ( +4 ) – version 1.1
by: Christian Salazar (bluyell, @salazachris74,

Select2 Infinite Scroll With Remote Data in Yii

Created about a year ago by amanationHow-tos5 comments – viewed 7,487 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.

Preventing CJuiTabs from hiding drop-down CMenu items

Created 4 years ago by Steve FriedlTips1 comment – viewed 9,477 times – ( +4 ) – version 1.1
Almost all Yii applications use CMenu at the top of each page to show options available to the user, and many include drop-down components to allow more fine-grained selection.

How to use Smarty renderer in Yii

Created 4 years ago by dongbetaHow-tos2 comments – viewed 18,047 times – ( +4 ) – 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 2 years ago by TpoxaHow-tos4 comments – viewed 17,427 times – ( +4 ) – 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 2 years ago by Antonio RamirezHow-tos4 comments – viewed 24,542 times – ( +4 ) – 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 about a year ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 4,915 times – ( +4 ) – 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

Syntax check

Created 4 years ago by Russell EnglandTips2 comments – viewed 7,327 times – ( +4 ) – version 1.1
So I've been busy making lots of modifications to my views/models/controllers - came to test the app and got a blank screen. Nothing in the application.log file so must be a syntax error somewhere... But which file?
tags: php, syntax

Bootstrap Yii cGridView add popup button

Created about a year ago by Arockia JohnsonHow-tos6 comments – viewed 8,409 times – ( +4 ) – version 1.1