Wiki articles

Showing 321-340 of 651 items.

How to upload image(photo), and path entry in database with update functionality

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

I saw many posts that community newbie is confuse in image/photo upload with random name. so I post this topic covering all useful things regarding to image/photo upload(not covering image attribute related functionality)

15 0
39 followers
Viewed: 211 248 times
Version: 1.1
Category: Tips

XUpload Workflow

Created 12 years ago by Asgaroth, updated 12 years ago by Asgaroth.

This wiki describes a more complex workflow using the XUpload widget

28 0
42 followers
Viewed: 96 274 times
Version: 1.1
Category: Tutorials

BootProgressColumn - Progress Bar Inside GridView Column compatible with 'bootstrap' extension

Created 12 years ago by Luiz, updated 11 years ago by robregonm.

A little hint of how to create a progress bar inside the column of the grid, using the 'bootstrap' extension.

5 0
7 followers
Viewed: 25 033 times
Version: 1.1
Category: Tips

ACL and RBAC

Created 12 years ago by zeroByte, updated 12 years ago by kevinkorb.

This HowTo assumes that you have a smattering of ACL in general and of how the acl-extension works basically. It will introduce you into the abstract and give you a hint on how to use Business-Rules. If you have in-depth questions, please refer to the extension documentation. Using ACL in an RBAC-manner cannot and should never obs...

0 0
3 followers
Viewed: 30 525 times
Version: 1.1
Category: How-tos

How to filter CGridView with From Date and To Date datepicker

Created 12 years ago by kiran sharma, updated 12 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 930 times
Version: 1.1
Category: Tips

Using SQLite and CDbMessageSource as a module

Created 12 years ago by pheadeaux, updated 12 years ago by pheadeaux.

There are scenarios when you work with DVCS (like [Mercurial]( http://mercurial.selenic.com/) or [Git]( http://git-scm.com/)) and CDbMessageSource. To my experience keeping the development database and production database in sync can be very...

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

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

Created 12 years ago by sensorario, updated 12 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 565 times
Version: 1.1
Category: How-tos
Tags: git, github

How to hide `index` action from URL

Created 12 years ago by rootbear, updated 12 years ago by rootbear.

Here is my experiment inspired by my own question and others from the forum.

3 1
9 followers
Viewed: 25 273 times
Version: 1.1
Category: How-tos
Tags: index

Simple access control

Created 12 years ago by szfjozsef, updated 12 years ago by szfjozsef.

For those who feel, the Controller->accessRules() or RBAC (Role-Based Access Control) is too complicated or doesn't want the username(s) to be hard-coded in accessRules(), here is a very simple, easy-to-implement solution.

3 7
10 followers
Viewed: 46 761 times
Version: 1.1
Category: Tutorials

Access log output from unit tests

Created 12 years ago by Mike, updated 12 years ago by Mike.

Say, you want to write a test for a component which provides a caching feature. How would you know, that some method of your component returns a cached result? With the solution described here you can inspect all log outputs. So you could search the logs for accesses to the DB to really make sure, that the result was served from cache.

3 0
2 followers
Viewed: 16 009 times
Version: 1.1
Category: Tips

Show captcha after <N> unsuccessfull attempts

Created 12 years ago by zitter, updated 12 years ago by zitter.

In this mini howto I would like to show how to add a required captcha field in the login form, after a defined number of unsuccessfull attempts. To do this, I will use the blog demo that you have in default Yii download package (path/to/yii/demos/blog).

13 4
15 followers
Viewed: 35 316 times
Version: 1.1
Category: How-tos

CSV Export

Created 12 years ago by JohnPollard, updated 12 years ago by JohnPollard.

I needed a csv export function for my cgridview and I wanted to export the entire result set of the sorted and filtered cgridview the user was viewing via ajax.

4 0
5 followers
Viewed: 30 039 times
Version: 1.1
Category: How-tos
Tags: csv, export

Importing CSV file to mysql table using "LOAD DATA" command.

Created 12 years ago by sirin k, updated 7 years ago by Maurizio Domba Cerin.

hi, Here i am giving you some simple step to import huge data from a csv file to your mysql table.this is useful when you have a very huge data to import from csv format.

5 0
20 followers
Viewed: 70 727 times
Version: 1.1
Category: Tips
Tags: csv, import, mysql

Adding Bash Command Completion for Yii Commands

Created 12 years ago by Dustin Oprea, updated 12 years ago by Dustin Oprea.

This article discusses the installation/configuration of the YiiBash project (https://github.com/dsoprea/YiiBash).

3 0
5 followers
Viewed: 14 973 times
Version: 1.1
Category: How-tos

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

Created 12 years ago by pckabeer, updated 12 years ago by pckabeer.

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 [enumDropdownList](http://www...

6 0
3 followers
Viewed: 25 637 times
Version: 1.1
Category: How-tos

Use phing to make Yii application "installable"

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

To use this "how-to", you need to install phing in your machine.

7 0
10 followers
Viewed: 15 113 times
Version: 1.1
Category: How-tos
Tags: phing

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

Created 12 years ago by sirin k, updated 7 years ago by Maurizio Domba Cerin.

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.

8 2
11 followers
Viewed: 49 323 times
Version: 1.1
Category: How-tos
Tags: blob, image

Displaying image in a CGridView column.

Created 12 years ago by sirin k, updated 7 years ago by Maurizio Domba Cerin.

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.

9 1
14 followers
Viewed: 75 369 times
Version: 1.1
Category: How-tos

MVC primer and 5 minute form walkthrough

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

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

8 0
6 followers
Viewed: 30 210 times
Version: 1.1
Category: Tutorials

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

Created 12 years ago by bennouna, updated 11 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: 64 421 times
Version: 1.1
Category: How-tos