Wiki

Sorted by viewsX
Displaying 131-140 of 747 result(s).

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

Created 2 years ago by shulmeHow-tos12 comments – viewed 40,107 times – ( +25 ) – 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:

Beginner / Intro Tutorials (please add to / update this list)

Created 5 years ago by Ivo RoperTutorials1 comment – viewed 39,714 times – ( +5 ) – version 1.1
This is a central location to collect links to "Getting Started" documentation beyond the blog demo and Creating First Yii Application. Please help the community by adding general, introductory links and descriptions to this page.

Integrating Yii with Wordpress

Created 3 years ago by isekreamTips5 comments – viewed 39,669 times – ( +10 / -1 ) – version 1.1
Well I finally had some time and tinkered a bit with the notion of integrating wordpress and Yii. Now for me I wanted to use Yii as a framework to develop wordpress plugins. Using some tips from imasia Article I was able to do a simple integration of yii as a wordpress plugin. The integration was very basic and i just used yii with its default installation site. I don;t know how it will really react with CRUD application as yet but it was fairly easy to integrate after reading the article...

Reliable Alternative For Yii::app()->request->isAjaxRequest AND Adding Data To Ajax Form With JS

Created 3 years ago by ibo_sHow-tos2 comments – viewed 39,060 times – ( +15 / -1 ) – version 1.1
In this How-To I'll show you:

Custom Number Formatting or Decimal Separators and i18n

Created 2 years ago by c@cbaTutorials8 comments – viewed 38,528 times – ( +7 ) – version 1.1
By default, the decimal separator in php (also in mysql) is a dot (.). So when we work with floats in Yii (in calculations, validation, sql statements etc.), the decimal separator has to be a dot. If we want to use for example a comma (,) as the decimal separator, that is if we want to display numbers and enable users to enter numbers with a comma before the decimals, we have to...

Using CJuiDatePicker for CGridView filter

Created 3 years ago by softarkHow-tos14 comments – viewed 38,484 times – ( +24 ) – version 1.1
We can use a CJuiDatePicker for a CGridView inline filter.

How to validate CSRF token with session

Created 3 years ago by yangmlsHow-tos1 comment – viewed 38,197 times – ( +22 ) – version 1.1
First of all, You must change component config to enable the default Yii CSRF validation.
tags: CSRF, session

Integrating Wordpress and Yii: still another approach, using Yii as the router/controller

Created 3 years ago by acorncomHow-tos23 comments – viewed 38,141 times – ( +22 ) – version 1.1
A lot of people have written posts on integrating Yii and WordPress. This article combines goncin's approach with an article I read about integrating Symfony and WordPress and applies it all to Yii and WordPress.

CGridView: Display the full record (actionView) in a CJuiDialog

Created 3 years ago by JobloTips7 comments – viewed 37,832 times – ( +15 ) – version 1.1
If you show a model (with a lot of attributes) partially in a CGridView, it can be helpful when the user can take a quick look at the full record with all attributes without displaying the view as a page and afterwards returning back to the gridview.

Using Bootstrap with LESS

Created 2 years ago by Chris83How-tos1 comment – viewed 37,740 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.