Wiki

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

Como trasponer una lista creada con CHtml::checkBoxList

Created 3 years ago by rdjteamTips3 comments – viewed 10,484 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,428 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.

Facebook DeAuthorize callback URL and its response data.

Created 2 years ago by sirin kTutorials1 comment – viewed 10,263 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

Configuring different sessions for backend and frontend in Yii advanced app

Created about a year ago by Kartik VHow-tos1 comment – viewed 10,182 times – ( +44 ) – version 2.0
After you have setup your Yii2 advanced application, you now have setup your user authentication for both frontend and backend. However, if you have first logged into frontend, and try to access backend from the same client machine, you see no login screen, but find yourself automatically logged in.

Getting nulls from database instead of empty strings

Created 4 years ago by samdarkTips2 comments – viewed 10,174 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

PHPStorm & NetBeans autocomplete problem

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

Limit a CGridView field to some preset length.

Created 2 years ago by le_topHow-tos1 comment – viewed 10,088 times – ( +13 ) – version 1.1
Sometimes text inside a gridview column is just too long. That's why I figured out a way to make the column smaller while still providing the information.

Speedup unit tests by moving MySql data to memory (in Ubuntu)

Created 2 years ago by sebTips0 comments – viewed 10,013 times – ( +1 / -1 ) – version 1.1
Speedup unit tests by moving MySql data to memory [Ubuntu]
tags: mysql, unit test

BUM - Add Additional Info to a User

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

How to display page on fancybox...using CHtml::ajaxlink with yii validation

Created about a year ago by Ankit ModiTutorials2 comments – viewed 9,907 times – ( +2 ) – version 1.1
1) include the fancybox extesion otherwise fancybox js