Wiki

Sorted by viewsX
Displaying 461-470 of 753 result(s).

How to extend CFormatter, add i18n support to booleanFormat and use it in CDetailView

Created 3 years ago by c@cbaHow-tos3 comments – viewed 10,680 times – ( +9 ) – version 1.1
As you know, the CDetailView widget displays details of a single model. If no formatting is specified, boolean values that are stored in the database as 0 and 1, are represented in the detail view as 0 and 1. If formatted as boolean, they are represented as 'No' and 'Yes'. We want to add i18n support, so that Yes and No appear in the current language.

Como trasponer una lista creada con CHtml::checkBoxList

Created 3 years ago by rdjteamTips3 comments – viewed 10,599 times – ( +2 ) – version 1.1
En ciertas ocasiones tenemos que lidiar con el tema de colocar una lista de checkboxes para hacer una seleccion especifica como es el caso de los dias de la semana para un calendario, para esta labor tenemos el comando CHtml::checkBoxList(), revisando un poco el funcionamiento de este temos los siguientes parametros:

How to create Module based Login

Created about a year ago by turiHow-tos1 comment – viewed 10,581 times – ( +3 ) – version 1.1
Lets say we have 3 modules (customer, user, admin) in an application and we need, separate logins for each module.

Yii code completion and calltips in Komodo Edit

Created 4 years ago by viterTips1 comment – viewed 10,566 times – ( +6 ) – version 1.1
My favourite editor is Komodo Edit (free and crossplatform) and I use it for my everyday coding work. Just recently I found out how to make it help me to work with Yii. :) So follow these steps:
tags: Komodo Edit

Facebook DeAuthorize callback URL and its response data.

Created 3 years ago by sirin kTutorials1 comment – viewed 10,426 times – ( +3 ) – version 1.1
Facebook Deauthorize callback is used to getting notification to the app owner when a user uninstall our app from their fan page or profile.
tags: facebook

BUM - Add Additional Info to a User

Created about a year ago by fireflyHow-tos1 comment – viewed 10,379 times – ( +1 ) – version 1.1
How to add additional information to a user when using BUM extension?

PHPStorm & NetBeans autocomplete problem

Created 2 years ago by StagelineTips3 comments – viewed 10,276 times – ( +24 ) – version 1.1
The problem: If you type Yii::app()->user<ctrl+space> code completion didn't work. This solve it.

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

Created about a year ago by Ankit ModiHow-tos1 comment – viewed 10,276 times – version all
Hi Friends, This tutorial may be help us create the custom drop-down menu using CHtml::dropDownList

Getting nulls from database instead of empty strings

Created 4 years ago by samdarkTips2 comments – viewed 10,232 times – ( +13 ) – version 1.1
To get null from database instead of empty strings you need to set up your DB connection as follows:
tags: database, null

New Relic Error Alert with Yii

Created 2 years ago by simon604Tips2 comments – viewed 10,226 times – ( +6 ) – version 1.1
Introduction