Wiki

Sorted by ratingX
Displaying 151-160 of 469 result(s).

Drop down list with enum values for column of type ENUM >+> incorporate into giix

Created about a year ago by c@cbaHow-tos2 comments – viewed 12,614 times – ( +11 )
Let's say our table 'mug' has a column named 'color' of the type ENUM('red','green','blue'). We want to replace the textfield for the attribute color in the create and update forms of a 'mug' with a drop down list, which has the enum values as options. The main code was contributed by zaccaria in the forum (see this post).

How to use ldap in UserIdentity for authentication

Created 3 years ago by BeerSercTutorials10 comments – viewed 20,191 times – ( +11 )
Yii does not have an LDAP class itself, but its very easy to implement LDAP in the stock UserIdentity class.

Real-time display of server push data using Server-Sent Events (SSE)

Created about a year ago by bennounaHow-tos11 comments – viewed 14,199 times – ( +11 )
There are several methods and techniques that come handy in the case you need to call an external resource periodically or if you are waiting for a server push, but I present here an easy and straightforward one using HTML5's Server-Sent Events (SSE).

How to filter CGridView with From Date and To Date datepicker

Created 10 months ago by kiran sharmaTips10 comments – viewed 13,550 times – ( +11 )
This artical is related to allow user to filter CGridView with date range using datepicker on submit button. Here I use Yii Cookie to preserve date in datepicker textbox after submitting the form.

Displaying, sorting and filtering HasMany & ManyMany relations in CGridView

Created 8 months ago by yJeroenTutorials8 comments – viewed 16,427 times – ( +11 )
This tutorial gives you multiple options of how to fully implement showing, sorting and filtering related data in gridviews.

javascript + tabular input

Created 2 years ago by zaccariaHow-tos3 comments – viewed 17,884 times – ( +11 )
If you tried this extension with success, maybe you thought how to do it without page submission or ajax calls.

Yiinitializr: The Library

Created about a month ago by Antonio RamirezOthers4 comments – viewed 3,236 times – ( +11 )
Introduction

Display a nice exception message on ajax requests

Created about a year ago by Maurizio DombaTips1 comment – viewed 15,149 times – ( +11 )
When an exception is thrown in our code like
tags: error, exception

Introducción al control de acceso basado en roles (RBAC)

Created 2 years ago by Juan CalvoTutorials4 comments – viewed 20,972 times – ( +16 / -1 )
Todos los que hemos empezado a utilizar Yii para crear aplicaciones Web, nos hemos dado de bruces cuando hemos intentado poner a funcionar el RBAC (acceso de control basado en roles).

How to create a wrapper for a js library

Created about a year ago by zaccariaHow-tos2 comments – viewed 7,608 times – ( +16 / -1 )
This wiki will explain how to include a javascript library in a widget.
tags: wrapper, js, uploadify