Sorted by date (updated)X
Displaying 11-20 of 683 result(s).

Search scenario (CGridView, etc.): avoid default values from database as search condition.

Updated 13 days ago by le_topTips1 comment – viewed 926 times – ( +1 ) – version 1.1
Yii has a neat "trick" that will assign default values to new CActiveRecords. When performing a search() though, this is pretty annoying as they automatically apply as filter values.

Profiling using XDebug

Updated 13 days ago by le_topHow-tos1 comment – viewed 5,009 times – ( +2 ) – version all
A short explication on how to extract profile information for PHP on your server using XDebug and KCacheGrind or WinCacheGrind.

Remove Byte Order Mark (BOM) from files recursively

Updated 13 days ago by KonApazHow-tos3 comments – viewed 4,772 times – ( +5 / -1 ) – version all
Ok, this wiki is not only for yii projects.

A very easy way to setup yiic on WAMP server (without extra windows settings)

Updated 13 days ago by KonApazTutorials10 comments – viewed 17,508 times – ( +5 / -1 ) – version 1.1
Assuming that you have already install the wampserver on your windows.

How to show a Captcha in CForm?

Updated 14 days ago by Rohit SutharHow-tos0 comments – viewed 1,160 times – ( +1 / -1 ) – version 1.1
In this wiki I will show how could use a Captcha in yii CForm. The easy way to show captcha image is create a form using CHtml method & CActiveForm, but CForm also should be able to show a captcha.
tags: captcha, CForm, widget

How to show Image view after upload and delete view image using eajaxupload extension

Updated 14 days ago by Ankit ModiHow-tos0 comments – viewed 811 times – ( -1 ) – version all
Hi Friends, In this tutorial you can use the eajaxupload-extension ,

How to create the custom Drop-down using CHtml::dropDownList

Updated 16 days ago by Ankit ModiHow-tos1 comment – viewed 934 times – version all
Hi Friends, This tutorial may be help us create the custom drop-down menu using CHtml::dropDownList

Tabular Input, Validating and Saving related models

Updated 17 days ago by hasanaviTutorials3 comments – viewed 13,411 times – ( +7 ) – version 1.1
This tutorial shows how to use a model to save and validate related (MANY_MANY) models.

Activating Bootstrap 3 Tooltips & Popover for your Yii Site.

Updated 17 days ago by Kartik VTips3 comments – viewed 2,394 times – ( +24 / -4 ) – version 2.0
With Bootstrap 3 and its inbuilt support in Yii Framework 2.0, you would see quite some new ways of creating HTML markup and styling your site. However, with version 3 of Bootstrap, tooltips and popover are not activated by default on your elements. Assuming you have activated the Bootstrap 3 tooltip plugin - how do you easily enable display of tooltips/popovers across your site?

Using updateAll and deleteAll with scopes

Updated 20 days ago by le_topHow-tos1 comment – viewed 973 times – ( +4 ) – version 1.1
This article is about how to use CActiveRecord->updateAll() and CActiveRecord->deleteAll() with scopes and criteria almost like you are used to with findAll() , find() and the other retrieval methods.