Wiki

Sorted by ratingX
Displaying 431-440 of 785 result(s).

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

Created 4 years ago by sirin kTips0 comments – viewed 7,270 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 2 years ago by bluyellHow-tos5 comments – viewed 5,852 times – ( +4 ) – version 1.1
by: Christian Salazar (bluyell, @salazachris74, christiansalazarh@gmail.com)

Select2 Infinite Scroll With Remote Data in Yii

Created 2 years ago by amanationHow-tos5 comments – viewed 11,142 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 6 years ago by Steve FriedlTips1 comment – viewed 10,618 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.

Yii2 default values for Index data Provider

Created 2 years ago by CTalaTips3 comments – viewed 15,642 times – ( +4 ) – version 2.0
Guys,

How to use Smarty renderer in Yii

Created 5 years ago by dongbetaHow-tos2 comments – viewed 19,472 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 4 years ago by TpoxaHow-tos4 comments – viewed 21,355 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 4 years ago by Antonio RamirezHow-tos4 comments – viewed 27,351 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 2 years ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 8,213 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 5 years ago by Russell EnglandTips2 comments – viewed 8,402 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