Wiki

Displaying 371-380 of 688 result(s).

Adding Bash Command Completion for Yii Commands

Created 2 years ago by Dustin OpreaHow-tos0 comments – viewed 6,465 times – ( +3 ) – version 1.1
This article discusses the installation/configuration of the YiiBash project (https://github.com/dsoprea/YiiBash).

Radio Button List with enum values for column of type ENUM >+> incorporate into giix

Created 2 years ago by pckabeerHow-tos1 comment – viewed 12,415 times – ( +7 ) – version 1.1
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 Radio Button List, which has the enum values as options. This is a rewrite of c@cba in the wiki article of enumDropdownListThe main code was contributed by zaccaria in the forum (see this post).

Use phing to make Yii application "installable"

Created 2 years ago by sensorarioHow-tos3 comments – viewed 7,078 times – ( +7 ) – version 1.1
To use this "how-to", you need to install phing in your machine.
tags: phing

Storing your images in your table's blob field and displaying that stored images.

Created 2 years ago by sirin kHow-tos6 comments – viewed 20,483 times – ( +8 / -1 ) – version 1.1
He im giving you a very simple example ie how you can store an image to your blob field in a table.Hope you already familiar with the normal image upload.
tags: blob, image

Displaying image in a CGridView column.

Created 2 years ago by sirin kHow-tos5 comments – viewed 44,017 times – ( +12 / -1 ) – version 1.1
This is a simple example of how we can display images in CGridviews.Imagine that you have an image field in your table ie either a location field or a blob type field used to store the images.
tags: CGridView, image

MVC primer and 5 minute form walkthrough

Created 2 years ago by rix.rix.Tutorials0 comments – viewed 15,249 times – ( +8 ) – version 1.1
This tutorial assumes some basic knowledge of Yii and a functional development environment.
tags: Forms, tutorial, mvc

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

Created 2 years ago by bennounaHow-tos16 comments – viewed 29,038 times – ( +12 ) – version 1.1
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).

Simple RBAC

Created 2 years ago by hasanaviTutorials16 comments – viewed 63,303 times – ( +45 / -3 ) – version 1.1
If you need simple Role based access control without the long RBAC process then this article is just for you. Lets jump to the point.

Events explained

Created 2 years ago by pligorTutorials9 comments – viewed 23,794 times – ( +22 / -3 ) – version 1.1
Let's see what exactly are the events in Yii!

Widget Personalizado

Created 2 years ago by CálcioTutorials0 comments – viewed 5,770 times – ( +5 ) – version 1.1
Nesse wiki vou tentar exemplificar de forma mais clara e objetiva o uso de widget com o CDataProvider.