Wiki

Displaying 471-480 of 786 result(s).

Use phing to make Yii application "installable"

Created 5 years ago by sensorarioHow-tos3 comments – viewed 9,740 times – ( +7 / -1 ) – 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 5 years ago by sirin kHow-tos7 comments – viewed 34,739 times – ( +9 / -2 ) – 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 5 years ago by sirin kHow-tos5 comments – viewed 63,734 times – ( +13 / -2 ) – 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 5 years ago by rix.rix.Tutorials0 comments – viewed 20,798 times – ( +8 / -1 ) – 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 5 years ago by bennounaHow-tos16 comments – viewed 48,474 times – ( +12 / -1 ) – 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 5 years ago by hasanaviTutorials17 comments – viewed 92,591 times – ( +50 / -4 ) – 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 5 years ago by pligorTutorials10 comments – viewed 41,112 times – ( +22 / -4 ) – version 1.1
Let's see what exactly are the events in Yii!

Widget Personalizado

Created 5 years ago by CálcioTutorials0 comments – viewed 8,093 times – ( +6 / -1 ) – version 1.1
Here I will explain with the clear way and objective an use the widget with CDataProvider.

CGridView keep state of page and sort.

Created 5 years ago by DanielHow-tos5 comments – viewed 28,743 times – ( +6 / -1 ) – version 1.1
Remember-filters-gridview is one of the must-use extension on all of my project. However, it lacks of storing the page and sort variables of the grid view.

Dynamic parent and child CGridView on single view. Using $.ajax to update child gridview via controller, after row in parent gridview was clicked.

Created 5 years ago by Gerhard LiebenbergTutorials20 comments – viewed 94,179 times – ( +28 / -2 ) – version 1.1
This wiki is a step-by-step example explaining how the controller, model and the view's CGridView work together. It explains simple things - as well as more complex things that you will anyway quickly have to know. So, even if you don't use dynamic gridviews, take a morning off and thoroughly work through this tutorial. It should save you lots of struggling.