Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 51-60 of 183 result(s).

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

Updated 5 months ago by shulmeHow-tos2 comments – viewed 8,069 times – ( +9 )
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 5 months ago by Antonio RamirezHow-tos7 comments – viewed 9,263 times – ( +7 )
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 5 months ago by Hudson NguyenHow-tos1 comment – viewed 2,008 times – ( +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 5 months ago by rAWTAZHow-tos13 comments – viewed 17,082 times – ( +35 )
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 5 months ago by fsbHow-tos6 comments – viewed 15,333 times – ( +42 )
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 5 months ago by GismoHow-tos15 comments – viewed 103,957 times – ( +81 )
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 5 months ago by Ivo PereiraHow-tos3 comments – viewed 11,128 times – ( +6 )
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 5 months ago by Antonio RamirezHow-tos1 comment – viewed 8,029 times – ( +4 )
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 6 months ago by dhampikHow-tos2 comments – viewed 12,254 times – ( +14 )
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.

Syncing sessions between Yii and KCFinder

Updated 6 months ago by Thanasis FotisHow-tos5 comments – viewed 2,639 times – ( +1 )
I have been trying to find information on how to sync the sessions between Yii and KCFinder so that the two applications can "communicate" with each other. I managed to find some bits and pieces on the correct approach to use, but not a definite guide or concrete code.