Wiki

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

Expert's model generation with Gii

Updated 12 days ago by le_topTips0 comments – viewed 1,368 times – ( +2 ) – version 1.1
Efficient coding with Yii implies efficient use of the code generator. This article shares the personalised Gii templates that were built starting from the standard templates proposed by AweGen.

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

Updated 13 days ago by le_topTips1 comment – viewed 933 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,012 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 14 days ago by KonApazHow-tos3 comments – viewed 4,775 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 14 days ago by KonApazTutorials10 comments – viewed 17,523 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,163 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 15 days ago by Ankit ModiHow-tos0 comments – viewed 815 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 17 days ago by Ankit ModiHow-tos1 comment – viewed 937 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,424 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 18 days ago by Kartik VTips3 comments – viewed 2,418 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?