Wiki

Articles in category "how-tos", sorted by ratingX
Displaying 81-90 of 341 result(s).

Displaying, Sorting and Filtering Model Relations on a GridView

Created about a year ago by Antonio RamirezHow-tos4 comments – viewed 22,123 times – ( +18 / -1 ) – version 2.0
One of the things you will find tricky to implement is the the sorting and filtering of a GridView's column that displays related model data.

How to re enable logging during unit testing

Created 3 years ago by AsgarothHow-tos3 comments – viewed 12,616 times – ( +11 ) – version 1.1
Some of you have experienced the need to log some information while doing unit testing, due to the fact that the information given in the summary is just not enough, to know why the test is actually failing. this article focuses on 2 ways to get you logs up and running again.

Setting and getting systemwide static parameters

Created 4 years ago by Steve FriedlHow-tos3 comments – viewed 72,932 times – ( +11 ) – version 1.1
Occasionally one wishes to set systemwide parameters for an application, such as a contact address for email, an application name, or setting an option that guides major behavior. Yii provides for setting of static parameters in the configuration file, and this article talks about how to do it conveniently.
tags: config

How to use YiiBooster TbFileUpload widget

Created 2 years ago by Antonio RamirezHow-tos15 comments – viewed 36,473 times – ( +11 ) – version 1.1
The following wiki is to explain how to make use of the TbFileUpload widget from YiiBooster. I have received a couple of requests and I thought was worth writing a wiki for it.

Using Grunt for deploying client scripts

Created 2 years ago by Chris83How-tos8 comments – viewed 13,115 times – ( +11 ) – version 1.1
For a long time I have struggled to find a suitable tool for doing server tasks such as compiling LESS files, concatenating and minifying of JavaScript files and copying the minified JavaScript files. While most of these tasks can be done with Yii extensions I would still not recommend using them because it requires you to include these extensions in your project, and therefore also deploying them in your production environment.

How to create a wrapper for a js library

Created 3 years ago by zaccariaHow-tos2 comments – viewed 11,499 times – ( +16 / -1 ) – version 1.1
This wiki will explain how to include a javascript library in a widget.
tags: wrapper, js, uploadify

Generate a multi-lever array sub-category for a menu

Created about a year ago by Kostas Apazidis (KonApaz)How-tos8 comments – viewed 13,090 times – ( +10 ) – version 1.1
Everyone have seen a multilayer menu in several CMS

Simple Share Widget for Facebook, twitter and google+

Created 3 years ago by softarkHow-tos4 comments – viewed 16,879 times – ( +10 ) – version 1.1
This widget will show a Facebook "like" button and "comments" box together with "tweet" button and "google plusone" button on your page.

yii vim eclimd how it works

Created 4 years ago by RusAlexHow-tos1 comment – viewed 8,037 times – ( +10 ) – version 1.1
I want to create a wiki page, and therefore im opening this discussion on this forum, for answering all questions and see other opinions, how do you use vim with yii.
tags: vim, eclimd, vimrc

Load the Yii-Bootstrap Extension on Specific Actions

Created 2 years ago by chuntleyHow-tos5 comments – viewed 17,035 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