Wiki

Sorted by ratingX
Displaying 361-370 of 601 result(s).

Select2 Infinite Scroll With Remote Data in Yii

Created 14 days ago by Israel AmaHow-tos4 comments – viewed 1,601 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 3 years ago by Steve FriedlTips1 comment – viewed 7,912 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 3 years ago by dongbetaHow-tos2 comments – viewed 15,198 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 about a year ago by TpoxaHow-tos3 comments – viewed 10,817 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 about a year ago by Antonio RamirezHow-tos2 comments – viewed 17,337 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.

Syntax check

Created 2 years ago by Russell EnglandTips2 comments – viewed 5,654 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

config Use MS SQL SERVER 2005 2008.

Created 2 years ago by vcxz_1982Tutorials1 comment – viewed 28,503 times – ( +4 ) – version 1.1
Use SQL SERVER 2000, the date format not like: yyyy/mm/dd hh:mm:ss. So I change to use SQL SERVER 2008 EXPRESS.

Patching PHP code (used as a library) without changing the original code!

Created about a year ago by le_topTips0 comments – viewed 3,017 times – ( +4 ) – version 1.1
The article Fixing extensions without modifying their code reminded me of another patching technique that I used. My conviction and a hard look on the web had led me to an article Redefine PHP class methods or class giving me a head start to do what I wanted: patching third party code without touching the original to allow easy upgrades.
tags: patch, patching

adding class and links to Ctreeview node

Created 2 years ago by bingjie2680Tips2 comments – viewed 10,634 times – ( +4 ) – version 1.1
This article will show you how to add links and class to each node in ctreeview. so you can attach events in js by obtaining handler on anchor or class.
tags: ctreeview, link, class

Alternative folder structure for a standard Yii app

Created about a year ago by TrejderHow-tos4 comments – viewed 6,727 times – ( +4 ) – version 1.1
I found a standard Yii app's protected folder structure nearly perfect. With a few simple moves and a little bit change to the code, I managed to bring it to the level, which I found as fully perfect. I want to share my point of view, in case someone would like to use this structure as well.