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

Using the jqueryslidemenu plugin with CMenu

Created 5 years ago by Antonio RamirezHow-tos0 comments – viewed 29,986 times – ( +18 / -1 ) – version 1.1
Yii makes it really easy for all to use their already made objects that automate everything we do. It provides also great power of flexibility and styling but hey, we programmers tend to complicate our lives and push a little more the power of our tools.

How to re enable logging during unit testing

Created 4 years ago by AsgarothHow-tos3 comments – viewed 13,547 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 83,358 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 39,386 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 14,434 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 4 years ago by zaccariaHow-tos2 comments – viewed 12,663 times – ( +16 / -1 ) – version 1.1
This wiki will explain how to include a javascript library in a widget.
tags: wrapper, js, uploadify

Tutorial about How to Integrate Yii2 with fantastic theme AdminLTE

Created about a year ago by ThePr0f3550rHow-tos7 comments – viewed 49,541 times – ( +16 / -1 ) – version 2.0
Yii2 comes with a charming twitter bootstrap version 3. But if it is less, then you can integrate with web templates that you like. One example is wonderfull template "adminLTE"
tags: yii2, theme, adminLTE

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

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos8 comments – viewed 14,513 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 18,586 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.

A Multi-Tenant Strategy using Yii and MySQL

Created about a year ago by JFReyesHow-tos8 comments – viewed 16,763 times – ( +10 ) – version 1.1
This article describes an implementation of multi-tenancy using Yii and MySQL.