Wiki articles

Showing 141-160 of 650 items.

Display Status image on CGridView column

Created 5 years ago by Ankit Modi, updated 5 months ago by samdark.

How to display status image on admin gridview.

0 0
5 followers
Viewed: 16 695 times
Version: 1.1
Category: Tutorials

how to make a dynamic progress bar to show the percentage or status

Created 5 years ago by hehbhehb, updated 4 years ago by Boaz.

Yii have a CJuiProgressBar, but it is static. If we want a dynamic progress bar to show the percentage or status, we have to do more things. I make it successfully and am glad to share it with you.

3 0
7 followers
Viewed: 37 030 times
Version: 1.1
Category: How-tos

Rendering a view file in a console application

Created 7 years ago by Tompi, updated 7 years ago by Tompi.

When someone want to send formatted HTML mails from a console application she/he will probably come across the problem of rendering view files.

2 1
7 followers
Viewed: 15 991 times
Version: 1.1
Category: How-tos

How To Connect With Twitter From Yii

Created 10 years ago by lucifurious, updated 8 years ago by wei.

Here is a quick tutorial for connecting Yii with Twitter using the Pogostick Yii Extensions Library.

4 1
12 followers
Viewed: 28 038 times
Version: 1.1
Category: Tutorials
Tags: twitter

Console Based CAuthManager Helper

Created 4 years ago by bluyell, updated 4 years ago by bluyell.

This behavior enable you to command the RBAC via console. This avoids you to install a entire rbac graphic toolkit to set up some rules in the rbac, maybe you are running inside a ssh console.

0 0
1 follower
Viewed: 8 011 times
Version: 1.1
Category: How-tos

Add Beautiful Radio/Checkbox Buttons To Grid

Created 5 years ago by waterloomatt, updated 4 years ago by Rohit Suthar.

The basic idea is to render a grid and, for each row, render a set of radio buttons that asynchronously update their respective model.

6 0
16 followers
Viewed: 29 809 times
Version: 1.1
Category: How-tos

How to extend yiic shell commands

Created 9 years ago by qiang, updated 8 years ago by wei.

While yiic shell tool is very convenient at generating skeleton code in our application, the generated code is not always what we want. For example, we may want the generated code to carry specific copyright information; we may want to use our own coding style; we may want to add more features; and so on. All these can be accomplished easily in Yii.

2 0
5 followers
Viewed: 27 709 times
Version: 1.1
Category: Tutorials
Tags: yiic

Single PHP entry point with Nginx

Created 4 years ago by MadAnd, updated 4 years ago by MadAnd.

In this article I will show you how to slightly increase application security, by exploiting the fact that Yii implements the Front Controller Pattern.

4 0
3 followers
Viewed: 9 890 times
Version: all
Category: How-tos

How to use default layout for error pages instead of errorXXX views

Created 9 years ago by idle sign, updated 7 years ago by Yang He.

The issue is covered in "The Definite Guide to Yii" (Error Handling - Handling Errors Using an Action).

4 0
3 followers
Viewed: 34 148 times
Version: 1.1
Category: Tutorials
Tags:

Beginner / Intro Tutorials (please add to / update this list)

Created 9 years ago by Ivo Roper, updated 6 years ago by Gerhard Liebenberg.

This is a central location to collect links to "Getting Started" documentation beyond the blog demo and Creating First Yii Application. Please help the community by adding general, introductory links and descriptions to this page.

4 0
8 followers
Viewed: 44 121 times
Version: 1.1
Category: Tutorials
Tags:

Simple Ajax popup

Created 5 years ago by Rajith R, updated 5 years ago by Rajith R.

Simple Ajax popup view with Ajax link

5 0
9 followers
Viewed: 43 495 times
Version: 1.1
Category: Tutorials

How to have truly multilingual URLs

Created 3 years ago by oligalma, updated a year ago by Maurizio Domba Cerin.

We can easily have a multilingual site if we put a "lang" parameter that comes via GET. For example:

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

Using Yii with PHP 5.4 built-in webserver instead of Apache

Created 7 years ago by samdark, updated 7 years ago by samdark.

Since version 5.4 PHP can work as a simple webserver so you can develop Yii applications without installing Apache. That's how to use it:

21 0
6 followers
Viewed: 16 520 times
Version: 1.1
Category: How-tos

How to create CJui Tabs : Render partial, Ajax tabs, color tabs

Created 5 years ago by Interboy, updated 5 years ago by xJose.

Hey guys, today we will show you how to make a Yii CJuitabs as example. Some feature cases such as Static tabs, render partial tabs, Ajax tabs, color tabs... You can see our code, there are simple 3 steps to make it work.

3 0
7 followers
Viewed: 28 651 times
Version: 1.1
Category: How-tos

BUM - Add Additional Info to a User

Created 5 years ago by firefly, updated 4 years ago by Anibal.

How to add additional information to a user when using BUM extension?

0 0
4 followers
Viewed: 19 486 times
Version: 1.1
Category: How-tos

How to catch and log MySQL deadlock errors

Created 7 years ago by seb, updated 7 years ago by seb.

This method allows to log InnoDB monitor output when deadlock error occured. This way we will have much more useful data to find and fix deadlock.

4 0
7 followers
Viewed: 15 140 times
Version: 1.1
Category: Tips
Tags: database

Multilanguage and SEO friendly

Created 5 years ago by Interboy, updated 4 years ago by Rohit Suthar.

In your application configuration (protected/config/main.php), set the sourceLanguage parameter to English:

4 0
8 followers
Viewed: 25 060 times
Version: 1.1
Category: How-tos

Installing WAMP - Apache, MySQL, & PHP on Windows 7

Created 9 years ago by Yeti, updated 8 years ago by Trejder.

Installing WAMP on XP was pretty easy; W7 is not so trivial. It's not difficult once you know, but it took me best part of a day to figure out and required gleaning various bits of information from around the web; this tutorial brings it all together in one place to (hopefully) make other peoples lives that bit easier. It does assume that you are reasonably happy configuring Apache, PHP, and MySQL...

2 0
1 follower
Viewed: 42 090 times
Version: 1.1
Category: Tutorials
Tags:

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

Created 7 years ago by pckabeer, updated 7 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: 20 798 times
Version: 1.1
Category: How-tos

Yii CGridView add custom button

Created 5 years ago by Arockia Johnson SR, updated 5 years ago by CeBe.

Hi buddies !, This tutorial shows about how to add a custom button with your own icon for your CGridView of Yii framework

3 0
7 followers
Viewed: 40 517 times
Version: 1.1
Category: How-tos