Wiki

Sorted by date (updated)X
Displaying 431-440 of 752 result(s).

TimeZone dropDown

Updated 2 years ago by Maurizio Domba CerinHow-tos0 comments – viewed 7,121 times – ( +2 ) – version 1.1
I spend a bit of time looking for the this piece of code while building time feature on a site this tutorial also helped Local time zones and locales

Load the Yii-Bootstrap Extension on Specific Actions

Updated 2 years ago by chuntleyHow-tos5 comments – viewed 17,539 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 2 years ago by shulmeHow-tos12 comments – viewed 43,523 times – ( +26 ) – 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 2 years ago by Antonio RamirezHow-tos15 comments – viewed 37,792 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 2 years ago by Hudson NguyenHow-tos1 comment – viewed 3,294 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.

Events explained

Updated 2 years ago by Ivo RenkemaTutorials9 comments – viewed 29,526 times – ( +22 / -3 ) – version 1.1
Let's see what exactly are the events in Yii!

Creating a jQueryUI Sortable CGridView

Updated 2 years ago by rAWTAZHow-tos22 comments – viewed 35,078 times – ( +47 / -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 display static pages in Yii with database content?

Updated 2 years ago by yasenTutorials6 comments – viewed 23,313 times – ( +11 ) – version 1.1
To extend further static pages as shown by Qiang http://www.yiiframework.com/wiki/22/how-to-display-static-pages-in-yii/ here're the steps to take:

How to generate Yii-like Documentation

Updated 2 years ago by fsbHow-tos9 comments – viewed 28,474 times – ( +46 ) – 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

Understanding "Safe" Validation Rules

Updated 2 years ago by GismoFAQs11 comments – viewed 90,967 times – ( +93 / -1 ) – version 1.1
A common source of confusion among new Yii users is how the 'safe' validator works, how it works with other validators, and why it's necessary in the first place. This article means to clear up this confusion, as well as explain the notion of Massive Assignment.