Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 181-190 of 302 result(s).

Load the Yii-Bootstrap Extension on Specific Actions

Updated about a year ago by chuntleyHow-tos5 comments – viewed 13,630 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

CKEditor Integration (includes steps for file uploads) - Step by Step

Updated about a year ago by shulmeHow-tos10 comments – viewed 28,581 times – ( +23 ) – version 1.1
Hey guys, I'm hoping other people will find this helpful. Today I went through the process of adding CKEditor to one of my projects, and then integrating KCFinder as the image uploader. It will be used in a CActiveForm, without the use of any crazy weird widgets. All paths are relative, using Yii functions, so this will work no matter where you install. Here it is:

How to use YiiBooster TbFileUpload widget

Updated about a year ago by Antonio RamirezHow-tos12 comments – viewed 27,584 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.

MigrateCommand class for multiple sites using one code base

Updated about a year ago by Hudson NguyenHow-tos1 comment – viewed 2,905 times – ( +1 ) – version 1.1
My CMS supports multiple sites using one code base therefore the db connection can only be configured by detecting the site's domain.

Creating a jQueryUI Sortable CGridView

Updated about a year ago by rAWTAZHow-tos22 comments – viewed 28,514 times – ( +43 / -1 ) – version 1.1
I have had to do this a couple of times now so I figured I would share it with the community. I am going to keep this short because I really hope that you are familiar with jQueryUI's Sortable class before starting this tutorial.

How to generate Yii-like Documentation

Updated about a year ago by fsbHow-tos9 comments – viewed 23,703 times – ( +45 ) – version 1.1
Something a good application cant miss is documentation, and what would be better than some nice formatted HTML documentation that can be auto-generated from your code, we know several tools that already do this like phpDocumentor, but today we are introducing Yii Docs Generator which is a modification of the code that Yii itself uses to generate its documentation, thank phpnode for this wonderful work.
tags: doc

Using CButtonColumn to customize buttons in CGridView

Updated about a year ago by GismoHow-tos17 comments – viewed 181,350 times – ( +96 ) – version 1.1
CGridView is a one of most flexible widgets in Yii and example its flexibility is CButtonColumn used to build buttons for steering model in each grid row. Here in this how-to we will explain ways user can customize CButtonColumn to flexibly fit it to its needs.

Secure password hashing with bCrypt

Updated about a year ago by Ivo PereiraHow-tos3 comments – viewed 17,449 times – ( +8 ) – version 1.1
In this article I will show you how to implement a secure password hashing mechanism in your Yii projects using a bCrypt class.

How to use YiiBooster Bootstrap Gallery

Updated about a year ago by Antonio RamirezHow-tos3 comments – viewed 19,062 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.

AssetManager: clearing browser's cache on site update

Updated about a year ago by dhampikHow-tos4 comments – viewed 21,046 times – ( +17 ) – version 1.1
If you like the things to be short and clear, then you can skip right to a short summary of instructions at the end of this article.