Wiki articles

Showing 201-220 of 822 items.

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

Created 11 years ago by bennouna, updated 10 years ago by bennouna.

Let's say you have an internal messaging system in your webapp, and you want to display messages dynamically and real-time to the relevant recipients.

9 0
17 followers
Viewed: 63 511 times
Version: 1.1
Category: How-tos

How to filter CGridView with From Date and To Date datepicker

Created 11 years ago by kiran sharma, updated 11 years ago by kiran sharma.

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.

9 0
26 followers
Viewed: 63 281 times
Version: 1.1
Category: Tips

Working with radiobutton list

Created 11 years ago by vibhaJadwani, updated 11 years ago by vibhaJadwani.

This is a tutorial to work with radioButtonList which will handle enum datatype. Form design and validation both are detailed here.

9 0
10 followers
Viewed: 130 051 times
Version: 1.1
Category: Tutorials

YiiBackboneBoilerplate - Project Setup for your Yii+BackboneJS applications

Created 11 years ago by Antonio Ramirez, updated 11 years ago by Antonio Ramirez.

YiiBackboneBoilerplate, aims to provide Yii Backbone developers with an application folder to ease the startup of their projects. It uses the flexibility of our YiiBoilerplate with a twist for BackboneJS applications.

9 0
22 followers
Viewed: 30 807 times
Version: 1.1
Category: Others

Limit a CGridView field to some preset length.

Created 11 years ago by le_top, updated 11 years ago by le_top.

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.

9 0
9 followers
Viewed: 22 250 times
Version: 1.1
Category: How-tos

Tutorial about How to Integrate Yii2 with fantastic theme AdminLTE

Created 9 years ago by ThePr0f3550r, updated 9 years ago by YiiJeka.

Yii2 comes with a charming twitter bootstrap version 3. But if it is less, then you can integrate with web templates that you like. One example is wonderfull template "adminLTE"

9 0
22 followers
Viewed: 131 934 times
Version: 2.0
Category: How-tos
9 0
15 followers
Viewed: 32 096 times
Version: 1.1
Category: Tips

Using events with CAction classes

Created 12 years ago by Antonio Ramirez, updated 12 years ago by 张 迪.

As you know, events are used by:

9 0
9 followers
Viewed: 23 440 times
Version: 1.1
Category: Tips

javascript + tabular input

Created 13 years ago by zaccaria, updated 12 years ago by Maurizio Domba Cerin.

If you tried this extension with success, maybe you thought how to do it without page submission or ajax calls.

13 1
25 followers
Viewed: 39 248 times
Version: 1.1
Category: How-tos

How to setup RBAC with a php file

Created 14 years ago by bettor, updated 11 years ago by Stageline.

In this cookbook I will attempt to explain how to use the lightweight version of Role-Based Access Control using a php file. This version does not use database but a php file and is controlled by CPhpAuthManager class.

24 4
21 followers
Viewed: 111 290 times
Version: 1.1
Category: How-tos

Yii v2 snippet guide III

Created 3 years ago by rackycz, updated 9 months ago by rackycz.

Articles are separated into more files as there is the max lenght for each file on wiki.

8 0
4 followers
Viewed: 165 185 times
Version: 2.0
Category: Tutorials

Application-driven database with CDbMigration and an extended CActiveRecord

Created 12 years ago by Tudor Ilisoi, updated 12 years ago by Tudor Ilisoi.

This is an incipient implementation of application-driven database with Yii.

8 0
10 followers
Viewed: 16 416 times
Version: 1.1
Category: Others

Use minified version of JqueryAsset, BootstrapAsset (and all default assets)

Created 9 years ago by robregonm, updated 9 years ago by robregonm.

By default, Yii 2.0 chooses to use the non-minified version of Jquery and Bootstrap files (CSS and JS). However, there's a simple way to indicate Yii to use the minified version.

8 0
6 followers
Viewed: 34 067 times
Version: 2.0
Category: How-tos

Model password confirmation field.

Created 12 years ago by twisted1919, updated 11 years ago by PashaL.

I had some troubles with the password confirmation field for when adding updating user records, so i thought that i should share the way i got it working.

8 0
19 followers
Viewed: 94 007 times
Version: 1.1
Category: How-tos

Use kartik Growl with Yii2 flash messages

Created 9 years ago by skworden, updated 9 years ago by skworden.

This is to show you how to use Yii2 flash messages with Kartik Growl (bootstrap notify wrapper).

8 0
11 followers
Viewed: 48 540 times
Version: 2.0
Category: How-tos

YII2: Create console commands inside a module or extension

Created 8 years ago by MetaCrawler, updated 5 years ago by Luis Armando.

Here is a small guide how to get console commands running inside modules & extensions. For this guide I used a fresh yii2 basic application template.

8 0
6 followers
Viewed: 64 124 times
Version: 2.0
Category: Tutorials

MVC primer and 5 minute form walkthrough

Created 11 years ago by rix.rix., updated 11 years ago by rix.rix..

This tutorial assumes some basic knowledge of Yii and a functional development environment.

8 0
6 followers
Viewed: 29 475 times
Version: 1.1
Category: Tutorials

How to: use github for download yii, create new app, and store our modules or extensions.

Created 11 years ago by sensorario, updated 11 years ago by Maurizio Domba Cerin.

Yesterday I've written a module for myself. Just an experiment. When I was feeling satisfied, I've created a repository on github, and pushed my code. My module and yii are on github. So I'll show you a "new" way to start our yii projects.

8 0
4 followers
Viewed: 22 073 times
Version: 1.1
Category: How-tos
Tags: git, github

yii vim eclimd how it works

Created 13 years ago by RusAlex, updated 12 years ago by RusAlex.

I want to create a wiki page, and therefore im opening this discussion on this forum, for answering all questions and see other opinions, how do you use vim with yii.

8 0
8 followers
Viewed: 12 911 times
Version: 1.1
Category: How-tos
Tags: eclimd, vim, vimrc

Ember.js with Yii REST backend,demo application

Created 11 years ago by drumaddict, updated 10 years ago by drumaddict.

Clone the git repo - git clone git://github.com/drumaddict/ember-yii.git - or download it To install,follow these steps.

8 0
12 followers
Viewed: 40 753 times
Version: 1.1
Category: Others