Wiki

Sorted by date (updated)X
Displaying 121-130 of 733 result(s).

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

Updated 7 months ago by le_topTips1 comment – viewed 2,571 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 7 months ago by le_topHow-tos1 comment – viewed 6,440 times – ( +3 ) – 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 7 months ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 7,084 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 7 months ago by Kostas Apazidis (KonApaz)Tutorials10 comments – viewed 23,991 times – ( +6 / -1 ) – version 1.1
Assuming that you have already install the wampserver on your windows.

How to show a Captcha in CForm?

Updated 7 months ago by Rohit SutharHow-tos0 comments – viewed 2,580 times – ( +5 / -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 7 months ago by Ankit ModiHow-tos0 comments – viewed 4,273 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 7 months ago by Ankit ModiHow-tos1 comment – viewed 6,594 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 7 months ago by hasanaviTutorials4 comments – viewed 19,634 times – ( +8 ) – version 1.1
This tutorial shows how to use a model to save and validate related (MANY_MANY) models.

Creating a Dependent Dropdown From Scratch in Yii2

Updated 7 months ago by ThePr0f3550rHow-tos1 comment – viewed 12,386 times – ( +4 ) – version 2.0
I have read http://www.yiiframework.com/wiki/24/creating-a-dependent-dropdown/ (Dependen Dropdown Yii1), but I cant implementation in Yii2 because Yii2 not built-in AJAX functionality hem.. I am search about it and get this statement

Activate captcha after unsuccessful login attempts

Updated 7 months ago by Rohit SutharHow-tos21 comments – viewed 14,593 times – ( +11 / -1 ) – version 1.1
Like gmail, if you have tree or more unsuccessful login attemps a captcha appears