Articles in category "how-tos"X
Displaying 181-190 of 348 result(s).

YiiBooster: How to implement files and images upload on TbRedactor Widget

Created 2 years ago by Antonio RamirezHow-tos3 comments – viewed 22,480 times – ( +13 ) – version 1.1
I have been requested to provide a tutorial on how to use the file upload feature of the TbRedactor widget, and even though I am no longer supporting the library due that the work belongs to Clevertech, I feel that I owe that to the Yii developers. So, here is the  tutorial.

Using Grunt for deploying client scripts

Created 2 years ago by Chris83How-tos8 comments – viewed 14,401 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.

Open Dialog from ajax content

Created 2 years ago by TouzasHow-tos1 comment – viewed 14,204 times – ( +4 / -1 ) – version 1.1
This tutorial will show you how to create Ajax dialog. It's very simple code.

Integrating HybridAuth directly into Yii without an extension

Created 2 years ago by biz devHow-tos8 comments – viewed 32,839 times – ( +14 ) – version 1.1
This article tries to explain the steps required in integrating the HybridAuth into Yii directly, without using an extension.

Limit a CGridView field to some preset length.

Created 2 years ago by le_topHow-tos1 comment – viewed 10,565 times – ( +13 ) – version 1.1
Sometimes text inside a gridview column is just too long. That's why I figured out a way to make the column smaller while still providing the information.

Extending an ActiveRecord model

Created 2 years ago by BogseyHow-tos3 comments – viewed 14,307 times – ( +2 / -3 ) – version 1.1

Twitter Bootstrap style Breadcrumbs

Created 2 years ago by junaidatariHow-tos0 comments – viewed 16,084 times – ( +5 / -1 ) – version 1.1
1: Create breadcrumb in your view file.

Using Bootstrap with LESS

Created 2 years ago by Chris83How-tos1 comment – viewed 40,203 times – ( +14 ) – version 1.1
I discovered Twitter Bootstrap almost two years ago. After trying it out for a while I fell in love with it. It didn't take long before I realized that it would be great to write an extension that allowed developers to start using Bootstrap in their Yii projects. One night I sat down and started writing what later became my now popular bootstrap extension. Now that the extension is quite widely used in the community I felt that it was time to write about how to use Bootstrap to its full potential. If you use the Bootstrap CSS files you're really missing out on some great features. After reading this article you'll be able to take full advantage of Bootstrap using LESS.

Kickstart development with Yii-App

Created 2 years ago by Chris83How-tos25 comments – viewed 28,073 times – ( +21 / -1 ) – version 1.1
I recently created a project called Yii-App on GitHub to kickstart my development of smaller Yii applications. The main goal of the project is to provide a ready-to-use application template that includes my bootstrap extension and many other useful extensions. After reading this article you will be able to use this project as a starting point for all of your Yii projects.